File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/sagemaker/remote_function Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1052,15 +1052,15 @@ def running(self) -> bool:
1052
1052
with self ._condition :
1053
1053
return self ._state == _RUNNING
1054
1054
1055
- def cancelled (self ):
1055
+ def cancelled (self ) -> bool :
1056
1056
"""
1057
1057
Returns:
1058
1058
``True`` if the underlying sagemaker job was cancelled. ``False``, otherwise.
1059
1059
"""
1060
1060
with self ._condition :
1061
1061
return self ._state == _CANCELLED
1062
1062
1063
- def done (self ):
1063
+ def done (self ) -> bool :
1064
1064
"""
1065
1065
Returns:
1066
1066
``True`` if the underlying sagemaker job finished running.
@@ -1079,7 +1079,7 @@ def done(self):
1079
1079
return False
1080
1080
1081
1081
1082
- def get_future (job_name , sagemaker_session = None ):
1082
+ def get_future (job_name , sagemaker_session = None ) -> Future :
1083
1083
"""Get a future object with information about a job with the given job_name.
1084
1084
1085
1085
Args:
You can’t perform that action at this time.
0 commit comments