Add support for registering an abort callback

This commit is contained in:
allegroai
2022-08-20 22:55:10 +03:00
parent f298271876
commit 1cc87c9a21
3 changed files with 134 additions and 4 deletions

View File

@@ -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