Skip to content

Commit c498132

Browse files
Dipankar Patrodpatro
authored andcommitted
address check failure
1 parent 0a07997 commit c498132

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sagemaker/remote_function/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,15 +1052,15 @@ def running(self) -> bool:
10521052
with self._condition:
10531053
return self._state == _RUNNING
10541054

1055-
def cancelled(self):
1055+
def cancelled(self) -> bool:
10561056
"""
10571057
Returns:
10581058
``True`` if the underlying sagemaker job was cancelled. ``False``, otherwise.
10591059
"""
10601060
with self._condition:
10611061
return self._state == _CANCELLED
10621062

1063-
def done(self):
1063+
def done(self) -> bool:
10641064
"""
10651065
Returns:
10661066
``True`` if the underlying sagemaker job finished running.
@@ -1079,7 +1079,7 @@ def done(self):
10791079
return False
10801080

10811081

1082-
def get_future(job_name, sagemaker_session=None):
1082+
def get_future(job_name, sagemaker_session=None) -> Future:
10831083
"""Get a future object with information about a job with the given job_name.
10841084
10851085
Args:

0 commit comments

Comments
 (0)