Skip to content

Commit 68202a7

Browse files
committed
fix: optional accept_eula arg
1 parent 8ae6835 commit 68202a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/estimator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2492,7 +2492,7 @@ class _TrainingJob(_Job):
24922492
"""Placeholder docstring"""
24932493

24942494
@classmethod
2495-
def start_new(cls, estimator, inputs, experiment_config, accept_eula):
2495+
def start_new(cls, estimator, inputs, experiment_config, accept_eula=None):
24962496
"""Create a new Amazon SageMaker training job from the estimator.
24972497
24982498
Args:
@@ -2529,7 +2529,7 @@ def start_new(cls, estimator, inputs, experiment_config, accept_eula):
25292529
return cls(estimator.sagemaker_session, estimator._current_job_name)
25302530

25312531
@classmethod
2532-
def _get_train_args(cls, estimator, inputs, experiment_config, accept_eula):
2532+
def _get_train_args(cls, estimator, inputs, experiment_config, accept_eula=None):
25332533
"""Constructs a dict of arguments for an Amazon SageMaker training job from the estimator.
25342534
25352535
Args:

0 commit comments

Comments
 (0)