mirror of
https://github.com/clearml/clearml
synced 2025-05-05 21:34:25 +00:00
This commit is contained in:
parent
b6d358c1f4
commit
eb27fad4dc
@ -765,6 +765,12 @@ class Session(TokenManager):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_files_server_host(cls, config: Optional[ConfigTree] = None) -> str:
|
def get_files_server_host(cls, config: Optional[ConfigTree] = None) -> str:
|
||||||
|
"""
|
||||||
|
Get the files server host name for the current configuration, either using the configuration value or by
|
||||||
|
parsing the other api or app host names
|
||||||
|
:param config: configuration object to use instead of the default configuration (ConfigTree)
|
||||||
|
:return: files server host name (str)
|
||||||
|
"""
|
||||||
if not config:
|
if not config:
|
||||||
from ...config import config_obj
|
from ...config import config_obj
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user