diff --git a/clearml/backend_api/services/v2_13/tasks.py b/clearml/backend_api/services/v2_13/tasks.py index 07fd7423..29bcae84 100644 --- a/clearml/backend_api/services/v2_13/tasks.py +++ b/clearml/backend_api/services/v2_13/tasks.py @@ -7459,7 +7459,7 @@ class GetAllRequest(Request): :param parent: Parent ID :type parent: str :param status_changed: List of status changed constraint strings (utcformat, - epoch) with an optional prefix modifier (\>,\>=, \<, \<=) + epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=) :type status_changed: Sequence[str] :param search_text: Free text search query :type search_text: str @@ -7565,7 +7565,7 @@ class GetAllRequest(Request): "type": ["array", "null"], }, "status_changed": { - "description": "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>,\>=, \<, \<=)", + "description": "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)", "items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"}, "type": ["array", "null"], }, diff --git a/clearml/backend_api/services/v2_20/tasks.py b/clearml/backend_api/services/v2_20/tasks.py index 89871743..0a216624 100644 --- a/clearml/backend_api/services/v2_20/tasks.py +++ b/clearml/backend_api/services/v2_20/tasks.py @@ -7825,7 +7825,7 @@ class GetAllRequest(Request): :param parent: Parent ID :type parent: str :param status_changed: List of status changed constraint strings (utcformat, - epoch) with an optional prefix modifier (\>,\>=, \<, \<=) + epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=) :type status_changed: Sequence[str] :param search_text: Free text search query :type search_text: str @@ -7971,8 +7971,8 @@ class GetAllRequest(Request): }, "status_changed": { "description": ( - "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>," - " \>=, \<, \<=)" + "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>," + " \\>=, \\<, \\<=)" ), "items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"}, "type": ["array", "null"], diff --git a/clearml/backend_api/services/v2_23/models.py b/clearml/backend_api/services/v2_23/models.py index 04444718..1660e547 100644 --- a/clearml/backend_api/services/v2_23/models.py +++ b/clearml/backend_api/services/v2_23/models.py @@ -2179,7 +2179,7 @@ class GetAllRequest(Request): :param uri: List of model URIs :type uri: Sequence[str] :param last_update: List of last_update constraint strings (utcformat, epoch) - with an optional prefix modifier (\>,\>=, \<, \<=) + with an optional prefix modifier (\\>,\\>=, \\<, \\<=) :type last_update: Sequence[str] :param _all_: Multi-field pattern condition (all fields match pattern) :type _all_: MultiFieldPatternData @@ -2243,7 +2243,7 @@ class GetAllRequest(Request): "last_update": { "description": ( "List of last_update constraint strings, or a single string (utcformat, epoch) with an optional prefix " - "modifier (\>,\>=, \<, \<=)" + "modifier (\\>,\\>=, \\<, \\<=)" ), "items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"}, "type": ["string", "array", "null"], diff --git a/clearml/backend_api/services/v2_23/tasks.py b/clearml/backend_api/services/v2_23/tasks.py index 34a2943a..08314903 100644 --- a/clearml/backend_api/services/v2_23/tasks.py +++ b/clearml/backend_api/services/v2_23/tasks.py @@ -8070,7 +8070,7 @@ class GetAllRequest(Request): :param parent: Parent ID :type parent: str :param status_changed: List of status changed constraint strings (utcformat, - epoch) with an optional prefix modifier (\>,\>=, \<, \<=) + epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=) :type status_changed: Sequence[str] :param search_text: Free text search query :type search_text: str @@ -8219,7 +8219,7 @@ class GetAllRequest(Request): "status_changed": { "description": ( "List of status changed constraint strings, or a single string (utcformat, epoch) with an optional prefix modifier " - "(\>,\>=, \<, \<=)" + "(\\>,\\>=, \\<, \\<=)" ), "items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"}, "type": ["string", "array", "null"], diff --git a/clearml/backend_api/services/v2_9/tasks.py b/clearml/backend_api/services/v2_9/tasks.py index f4d630ea..73a77234 100644 --- a/clearml/backend_api/services/v2_9/tasks.py +++ b/clearml/backend_api/services/v2_9/tasks.py @@ -5371,7 +5371,7 @@ class GetAllRequest(Request): :param parent: Parent ID :type parent: str :param status_changed: List of status changed constraint strings (utcformat, - epoch) with an optional prefix modifier (\>,\>=, \<, \<=) + epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=) :type status_changed: Sequence[str] :param search_text: Free text search query :type search_text: str @@ -5477,7 +5477,7 @@ class GetAllRequest(Request): 'type': ['array', 'null'], }, 'status_changed': { - 'description': 'List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>,\>=, \<, \<=)', + 'description': 'List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)', 'items': {'pattern': '^(>=|>|<=|<)?.*$', 'type': 'string'}, 'type': ['array', 'null'], }, diff --git a/clearml/backend_api/session/defs.py b/clearml/backend_api/session/defs.py index 46ad41f3..935b0d8d 100644 --- a/clearml/backend_api/session/defs.py +++ b/clearml/backend_api/session/defs.py @@ -16,10 +16,10 @@ ENV_OFFLINE_MODE = EnvEntry("CLEARML_OFFLINE_MODE", "TRAINS_OFFLINE_MODE", type= ENV_CLEARML_NO_DEFAULT_SERVER = EnvEntry( "CLEARML_NO_DEFAULT_SERVER", "TRAINS_NO_DEFAULT_SERVER", converter=safe_text_to_bool, type=bool, default=True ) -ENV_DISABLE_VAULT_SUPPORT = EnvEntry('CLEARML_DISABLE_VAULT_SUPPORT', type=bool) -ENV_ENABLE_ENV_CONFIG_SECTION = EnvEntry('CLEARML_ENABLE_ENV_CONFIG_SECTION', type=bool) -ENV_ENABLE_FILES_CONFIG_SECTION = EnvEntry('CLEARML_ENABLE_FILES_CONFIG_SECTION', type=bool) -ENV_DEFERRED_TASK_INIT = EnvEntry('CLEARML_DEFERRED_TASK_INIT', type=bool) +ENV_DISABLE_VAULT_SUPPORT = EnvEntry("CLEARML_DISABLE_VAULT_SUPPORT", type=bool) +ENV_ENABLE_ENV_CONFIG_SECTION = EnvEntry("CLEARML_ENABLE_ENV_CONFIG_SECTION", type=bool) +ENV_ENABLE_FILES_CONFIG_SECTION = EnvEntry("CLEARML_ENABLE_FILES_CONFIG_SECTION", type=bool) +ENV_DEFERRED_TASK_INIT = EnvEntry("CLEARML_DEFERRED_TASK_INIT", type=bool) ENV_IGNORE_MISSING_CONFIG = EnvEntry("CLEARML_IGNORE_MISSING_CONFIG", type=bool) """ diff --git a/clearml/router/fastapi_proxy.py b/clearml/router/fastapi_proxy.py index 3b781b0f..e80ebca1 100644 --- a/clearml/router/fastapi_proxy.py +++ b/clearml/router/fastapi_proxy.py @@ -87,7 +87,7 @@ class FastAPIProxy: url=url, headers=dict(request.headers), content=await request.body(), - params=request.query_params + params=request.query_params, ) else: request = session.build_request( @@ -96,7 +96,7 @@ class FastAPIProxy: content=request.stream(), params=request.query_params, headers=dict(request.headers), - timeout=httpx.USE_CLIENT_DEFAULT + timeout=httpx.USE_CLIENT_DEFAULT, ) proxied_response = await session.send( request=request, diff --git a/clearml/storage/manager.py b/clearml/storage/manager.py index 49e85a8c..539ca8bc 100644 --- a/clearml/storage/manager.py +++ b/clearml/storage/manager.py @@ -220,8 +220,8 @@ class StorageManager(object): .. note:: - If we have a local file ``\~/folder/sub/file.ext`` then - ``StorageManager.upload_folder('\~/folder/', 's3://bucket/')`` + If we have a local file ``\\~/folder/sub/file.ext`` then + ``StorageManager.upload_folder('\\~/folder/', 's3://bucket/')`` will create ``s3://bucket/sub/file.ext`` :param str local_folder: Local folder to recursively upload diff --git a/clearml/task.py b/clearml/task.py index fce2c50c..a86dd96f 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -347,7 +347,7 @@ class Task(_Task): files_server will be used for model storage. In the default location, ClearML creates a subfolder for the output. If set to False, local runs will not upload output models and artifacts, and remote runs will not use any default values provided using ``default_output_uri``. - The subfolder structure is the following: \<output destination name\> / \<project name\> / \<task name\>.\<Task ID\>. + The subfolder structure is the following: \\<output destination name\\> / \\<project name\\> / \\<task name\\>.\\<Task ID\\>. Note that for cloud storage, you must install the **ClearML** package for your cloud storage type, and then configure your storage credentials. For detailed information, see "Storage" in the ClearML Documentation.