@@ -972,7 +972,7 @@ def from_recipe(
972972 sagemaker_session : Optional [Session ] = None ,
973973 role : Optional [str ] = None ,
974974 base_job_name : Optional [str ] = None ,
975- ) -> "ModelTrainer" :
975+ ) -> "ModelTrainer" : # noqa: D412
976976 """Create a ModelTrainer from a training recipe.
977977
978978 Example:
@@ -1120,7 +1120,7 @@ def from_recipe(
11201120
11211121 def with_tensorboard_output_config (
11221122 self , tensorboard_output_config : Optional [TensorBoardOutputConfig ] = None
1123- ) -> "ModelTrainer" :
1123+ ) -> "ModelTrainer" : # noqa: D412
11241124 """Set the TensorBoard output configuration.
11251125
11261126 Example:
@@ -1140,7 +1140,7 @@ def with_tensorboard_output_config(
11401140 self ._tensorboard_output_config = tensorboard_output_config or TensorBoardOutputConfig ()
11411141 return self
11421142
1143- def with_retry_strategy (self , retry_strategy : RetryStrategy ) -> "ModelTrainer" :
1143+ def with_retry_strategy (self , retry_strategy : RetryStrategy ) -> "ModelTrainer" : # noqa: D412
11441144 """Set the retry strategy for the training job.
11451145
11461146 Example:
@@ -1165,7 +1165,7 @@ def with_retry_strategy(self, retry_strategy: RetryStrategy) -> "ModelTrainer":
11651165
11661166 def with_infra_check_config (
11671167 self , infra_check_config : Optional [InfraCheckConfig ] = None
1168- ) -> "ModelTrainer" :
1168+ ) -> "ModelTrainer" : # noqa: D412
11691169 """Set the infra check configuration for the training job.
11701170
11711171 Example:
@@ -1187,7 +1187,7 @@ def with_infra_check_config(
11871187
11881188 def with_session_chaining_config (
11891189 self , session_chaining_config : Optional [SessionChainingConfig ] = None
1190- ) -> "ModelTrainer" :
1190+ ) -> "ModelTrainer" : # noqa: D412
11911191 """Set the session chaining configuration for the training job.
11921192
11931193 Example:
@@ -1211,7 +1211,7 @@ def with_session_chaining_config(
12111211
12121212 def with_remote_debug_config (
12131213 self , remote_debug_config : Optional [RemoteDebugConfig ] = None
1214- ) -> "ModelTrainer" :
1214+ ) -> "ModelTrainer" : # noqa: D412
12151215 """Set the remote debug configuration for the training job.
12161216
12171217 Example:
0 commit comments