Fix syntax warnings (#1369)

This commit is contained in:
pollfly 2025-02-02 18:36:40 +02:00 committed by GitHub
parent 5749e1dcfa
commit 03dfa99639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 14 additions and 14 deletions

View File

@ -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"],
},

View File

@ -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"],

View File

@ -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"],

View File

@ -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"],

View File

@ -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'],
},

View File

@ -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

View File

@ -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.