mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Add support for registering an abort callback
This commit is contained in:
@@ -2071,7 +2071,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
||||
return None
|
||||
|
||||
def _set_runtime_properties(self, runtime_properties):
|
||||
# type: (Mapping[str, str]) -> bool
|
||||
# type: (Mapping[str, Union[str, int, float]]) -> bool
|
||||
if not Session.check_min_api_version('2.13') or not runtime_properties:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user