mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Fix backwards compatibility issue when using abstractmethod
This commit is contained in:
parent
673c1bc5c7
commit
a8c2097fec
@ -117,9 +117,9 @@ class CloudDriver(ABC):
|
||||
def instance_type_key(self):
|
||||
"""Return key in configuration for instance type"""
|
||||
|
||||
@abstractmethod
|
||||
def console_log(self, instance_id):
|
||||
"""Return log for instance"""
|
||||
return ""
|
||||
|
||||
def gen_user_data(self, worker_prefix, queue_name, task_id, cpu_only=False):
|
||||
return bash_script_template.format(
|
||||
|
Loading…
Reference in New Issue
Block a user