mirror of
https://github.com/clearml/clearml
synced 2025-04-10 15:35:51 +00:00
Merge branch 'master' of https://github.com/allegroai/clearml
This commit is contained in:
commit
a0aed5c88e
clearml
@ -7459,7 +7459,7 @@ class GetAllRequest(Request):
|
|||||||
:param parent: Parent ID
|
:param parent: Parent ID
|
||||||
:type parent: str
|
:type parent: str
|
||||||
:param status_changed: List of status changed constraint strings (utcformat,
|
: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]
|
:type status_changed: Sequence[str]
|
||||||
:param search_text: Free text search query
|
:param search_text: Free text search query
|
||||||
:type search_text: str
|
:type search_text: str
|
||||||
@ -7565,7 +7565,7 @@ class GetAllRequest(Request):
|
|||||||
"type": ["array", "null"],
|
"type": ["array", "null"],
|
||||||
},
|
},
|
||||||
"status_changed": {
|
"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"},
|
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
||||||
"type": ["array", "null"],
|
"type": ["array", "null"],
|
||||||
},
|
},
|
||||||
|
@ -7825,7 +7825,7 @@ class GetAllRequest(Request):
|
|||||||
:param parent: Parent ID
|
:param parent: Parent ID
|
||||||
:type parent: str
|
:type parent: str
|
||||||
:param status_changed: List of status changed constraint strings (utcformat,
|
: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]
|
:type status_changed: Sequence[str]
|
||||||
:param search_text: Free text search query
|
:param search_text: Free text search query
|
||||||
:type search_text: str
|
:type search_text: str
|
||||||
@ -7971,8 +7971,8 @@ class GetAllRequest(Request):
|
|||||||
},
|
},
|
||||||
"status_changed": {
|
"status_changed": {
|
||||||
"description": (
|
"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"},
|
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
||||||
"type": ["array", "null"],
|
"type": ["array", "null"],
|
||||||
|
@ -2179,7 +2179,7 @@ class GetAllRequest(Request):
|
|||||||
:param uri: List of model URIs
|
:param uri: List of model URIs
|
||||||
:type uri: Sequence[str]
|
:type uri: Sequence[str]
|
||||||
:param last_update: List of last_update constraint strings (utcformat, epoch)
|
: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]
|
:type last_update: Sequence[str]
|
||||||
:param _all_: Multi-field pattern condition (all fields match pattern)
|
:param _all_: Multi-field pattern condition (all fields match pattern)
|
||||||
:type _all_: MultiFieldPatternData
|
:type _all_: MultiFieldPatternData
|
||||||
@ -2243,7 +2243,7 @@ class GetAllRequest(Request):
|
|||||||
"last_update": {
|
"last_update": {
|
||||||
"description": (
|
"description": (
|
||||||
"List of last_update constraint strings, or a single string (utcformat, epoch) with an optional prefix "
|
"List of last_update constraint strings, or a single string (utcformat, epoch) with an optional prefix "
|
||||||
"modifier (\>,\>=, \<, \<=)"
|
"modifier (\\>,\\>=, \\<, \\<=)"
|
||||||
),
|
),
|
||||||
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
||||||
"type": ["string", "array", "null"],
|
"type": ["string", "array", "null"],
|
||||||
|
@ -8070,7 +8070,7 @@ class GetAllRequest(Request):
|
|||||||
:param parent: Parent ID
|
:param parent: Parent ID
|
||||||
:type parent: str
|
:type parent: str
|
||||||
:param status_changed: List of status changed constraint strings (utcformat,
|
: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]
|
:type status_changed: Sequence[str]
|
||||||
:param search_text: Free text search query
|
:param search_text: Free text search query
|
||||||
:type search_text: str
|
:type search_text: str
|
||||||
@ -8219,7 +8219,7 @@ class GetAllRequest(Request):
|
|||||||
"status_changed": {
|
"status_changed": {
|
||||||
"description": (
|
"description": (
|
||||||
"List of status changed constraint strings, or a single string (utcformat, epoch) with an optional prefix modifier "
|
"List of status changed constraint strings, or a single string (utcformat, epoch) with an optional prefix modifier "
|
||||||
"(\>,\>=, \<, \<=)"
|
"(\\>,\\>=, \\<, \\<=)"
|
||||||
),
|
),
|
||||||
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
|
||||||
"type": ["string", "array", "null"],
|
"type": ["string", "array", "null"],
|
||||||
|
@ -5371,7 +5371,7 @@ class GetAllRequest(Request):
|
|||||||
:param parent: Parent ID
|
:param parent: Parent ID
|
||||||
:type parent: str
|
:type parent: str
|
||||||
:param status_changed: List of status changed constraint strings (utcformat,
|
: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]
|
:type status_changed: Sequence[str]
|
||||||
:param search_text: Free text search query
|
:param search_text: Free text search query
|
||||||
:type search_text: str
|
:type search_text: str
|
||||||
@ -5477,7 +5477,7 @@ class GetAllRequest(Request):
|
|||||||
'type': ['array', 'null'],
|
'type': ['array', 'null'],
|
||||||
},
|
},
|
||||||
'status_changed': {
|
'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'},
|
'items': {'pattern': '^(>=|>|<=|<)?.*$', 'type': 'string'},
|
||||||
'type': ['array', 'null'],
|
'type': ['array', 'null'],
|
||||||
},
|
},
|
||||||
|
@ -16,10 +16,10 @@ ENV_OFFLINE_MODE = EnvEntry("CLEARML_OFFLINE_MODE", "TRAINS_OFFLINE_MODE", type=
|
|||||||
ENV_CLEARML_NO_DEFAULT_SERVER = EnvEntry(
|
ENV_CLEARML_NO_DEFAULT_SERVER = EnvEntry(
|
||||||
"CLEARML_NO_DEFAULT_SERVER", "TRAINS_NO_DEFAULT_SERVER", converter=safe_text_to_bool, type=bool, default=True
|
"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_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_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_ENABLE_FILES_CONFIG_SECTION = EnvEntry("CLEARML_ENABLE_FILES_CONFIG_SECTION", type=bool)
|
||||||
ENV_DEFERRED_TASK_INIT = EnvEntry('CLEARML_DEFERRED_TASK_INIT', type=bool)
|
ENV_DEFERRED_TASK_INIT = EnvEntry("CLEARML_DEFERRED_TASK_INIT", type=bool)
|
||||||
ENV_IGNORE_MISSING_CONFIG = EnvEntry("CLEARML_IGNORE_MISSING_CONFIG", type=bool)
|
ENV_IGNORE_MISSING_CONFIG = EnvEntry("CLEARML_IGNORE_MISSING_CONFIG", type=bool)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -87,7 +87,7 @@ class FastAPIProxy:
|
|||||||
url=url,
|
url=url,
|
||||||
headers=dict(request.headers),
|
headers=dict(request.headers),
|
||||||
content=await request.body(),
|
content=await request.body(),
|
||||||
params=request.query_params
|
params=request.query_params,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
request = session.build_request(
|
request = session.build_request(
|
||||||
@ -96,7 +96,7 @@ class FastAPIProxy:
|
|||||||
content=request.stream(),
|
content=request.stream(),
|
||||||
params=request.query_params,
|
params=request.query_params,
|
||||||
headers=dict(request.headers),
|
headers=dict(request.headers),
|
||||||
timeout=httpx.USE_CLIENT_DEFAULT
|
timeout=httpx.USE_CLIENT_DEFAULT,
|
||||||
)
|
)
|
||||||
proxied_response = await session.send(
|
proxied_response = await session.send(
|
||||||
request=request,
|
request=request,
|
||||||
|
@ -220,8 +220,8 @@ class StorageManager(object):
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
If we have a local file ``\~/folder/sub/file.ext`` then
|
If we have a local file ``\\~/folder/sub/file.ext`` then
|
||||||
``StorageManager.upload_folder('\~/folder/', 's3://bucket/')``
|
``StorageManager.upload_folder('\\~/folder/', 's3://bucket/')``
|
||||||
will create ``s3://bucket/sub/file.ext``
|
will create ``s3://bucket/sub/file.ext``
|
||||||
|
|
||||||
:param str local_folder: Local folder to recursively upload
|
:param str local_folder: Local folder to recursively upload
|
||||||
|
@ -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
|
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,
|
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``.
|
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,
|
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
|
and then configure your storage credentials. For detailed information, see "Storage" in the ClearML
|
||||||
Documentation.
|
Documentation.
|
||||||
|
Loading…
Reference in New Issue
Block a user