mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
No offline mode when running remotely
This commit is contained in:
parent
de068cc390
commit
b054ba4088
@ -1806,6 +1806,7 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
:param offline_mode: If True, offline-mode is turned on, and no communication to the backend is enabled.
|
:param offline_mode: If True, offline-mode is turned on, and no communication to the backend is enabled.
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
if not running_remotely():
|
||||||
ENV_OFFLINE_MODE.set(offline_mode)
|
ENV_OFFLINE_MODE.set(offline_mode)
|
||||||
InterfaceBase._offline_mode = bool(offline_mode)
|
InterfaceBase._offline_mode = bool(offline_mode)
|
||||||
Session._offline_mode = bool(offline_mode)
|
Session._offline_mode = bool(offline_mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user