Skip to content

Commit e68938d

Browse files
committed
fix docstring layout. take 2
1 parent e1f3f66 commit e68938d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/sagemaker/tuner.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -766,13 +766,15 @@ def best_estimator(self, best_training_job=None):
766766
767767
Example:
768768
769-
{
769+
.. code:: python
770770
771-
"TrainingJobName": "my_training_job_name",
771+
{
772772
773-
"TrainingJobDefinitionName": "my_training_job_definition_name"
773+
"TrainingJobName": "my_training_job_name",
774774
775-
}
775+
"TrainingJobDefinitionName": "my_training_job_definition_name"
776+
777+
}
776778
777779
Returns:
778780
sagemaker.estimator.EstimatorBase: The estimator that has the best training job

0 commit comments

Comments
 (0)