diff --git a/clearml/backend_interface/util.py b/clearml/backend_interface/util.py index 8b462363..9ad8d760 100644 --- a/clearml/backend_interface/util.py +++ b/clearml/backend_interface/util.py @@ -63,7 +63,7 @@ def get_or_create_project(session, project_name, description=None): def get_queue_id(session, queue): - # type: ('Session', str) -> Optional[str] + # type: ('Session', str) -> Optional[str] # noqa: F821 if not queue: return None @@ -80,7 +80,6 @@ def get_queue_id(session, queue): return None - # Hack for supporting windows def get_epoch_beginning_of_time(timezone_info=None): return datetime(1970, 1, 1).replace(tzinfo=timezone_info if timezone_info else utc_timezone) @@ -162,4 +161,3 @@ def datetime_from_isoformat(o): if isinstance(o, datetime): return o return datetime.strptime(o, "%Y-%m-%dT%H:%M:%S.%f") - diff --git a/clearml/task.py b/clearml/task.py index 55ba3eb7..7b49726d 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -25,7 +25,7 @@ import six from pathlib2 import Path from .backend_config.defs import get_active_config_file, get_config_file -from .backend_api.services import tasks, projects, queues +from .backend_api.services import tasks, projects from .backend_api.session.session import ( Session, ENV_ACCESS_KEY, ENV_SECRET_KEY, ENV_HOST, ENV_WEB_HOST, ENV_FILES_HOST) from .backend_interface.metrics import Metrics