mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Fix error message
This commit is contained in:
parent
3b15da5fd6
commit
038df349b2
@ -1831,7 +1831,7 @@ class Task(_Task):
|
|||||||
:return Task: Return the newly created Task or None if running remotely and execution is skipped
|
:return Task: Return the newly created Task or None if running remotely and execution is skipped
|
||||||
"""
|
"""
|
||||||
if not self.is_main_task():
|
if not self.is_main_task():
|
||||||
raise ValueError("Only the main Task object can call execute_function_remotely()")
|
raise ValueError("Only the main Task object can call create_function_task()")
|
||||||
if not callable(func):
|
if not callable(func):
|
||||||
raise ValueError("func must be callable")
|
raise ValueError("func must be callable")
|
||||||
if not Session.check_min_api_version('2.9'):
|
if not Session.check_min_api_version('2.9'):
|
||||||
|
Loading…
Reference in New Issue
Block a user