From eb27fad4dc98c6fbfeb40e1ae212c830d3bb21e6 Mon Sep 17 00:00:00 2001 From: clearml <> Date: Thu, 1 May 2025 22:12:20 +0300 Subject: [PATCH] Add docstring --- clearml/backend_api/session/session.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clearml/backend_api/session/session.py b/clearml/backend_api/session/session.py index 6e604cc9..39655b2d 100644 --- a/clearml/backend_api/session/session.py +++ b/clearml/backend_api/session/session.py @@ -765,6 +765,12 @@ class Session(TokenManager): @classmethod 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: from ...config import config_obj