Skip to content

Commit 03dfa99

Browse files
authored
Fix syntax warnings (clearml#1369)
1 parent 5749e1d commit 03dfa99

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

clearml/backend_api/services/v2_13/tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7459,7 +7459,7 @@ class GetAllRequest(Request):
74597459
:param parent: Parent ID
74607460
:type parent: str
74617461
:param status_changed: List of status changed constraint strings (utcformat,
7462-
epoch) with an optional prefix modifier (\>,\>=, \<, \<=)
7462+
epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)
74637463
:type status_changed: Sequence[str]
74647464
:param search_text: Free text search query
74657465
:type search_text: str
@@ -7565,7 +7565,7 @@ class GetAllRequest(Request):
75657565
"type": ["array", "null"],
75667566
},
75677567
"status_changed": {
7568-
"description": "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>,\>=, \<, \<=)",
7568+
"description": "List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)",
75697569
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
75707570
"type": ["array", "null"],
75717571
},

clearml/backend_api/services/v2_20/tasks.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -7825,7 +7825,7 @@ class GetAllRequest(Request):
78257825
:param parent: Parent ID
78267826
:type parent: str
78277827
:param status_changed: List of status changed constraint strings (utcformat,
7828-
epoch) with an optional prefix modifier (\>,\>=, \<, \<=)
7828+
epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)
78297829
:type status_changed: Sequence[str]
78307830
:param search_text: Free text search query
78317831
:type search_text: str
@@ -7971,8 +7971,8 @@ class GetAllRequest(Request):
79717971
},
79727972
"status_changed": {
79737973
"description": (
7974-
"List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>,"
7975-
" \>=, \<, \<=)"
7974+
"List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>,"
7975+
" \\>=, \\<, \\<=)"
79767976
),
79777977
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
79787978
"type": ["array", "null"],

clearml/backend_api/services/v2_23/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ class GetAllRequest(Request):
21792179
:param uri: List of model URIs
21802180
:type uri: Sequence[str]
21812181
:param last_update: List of last_update constraint strings (utcformat, epoch)
2182-
with an optional prefix modifier (\>,\>=, \<, \<=)
2182+
with an optional prefix modifier (\\>,\\>=, \\<, \\<=)
21832183
:type last_update: Sequence[str]
21842184
:param _all_: Multi-field pattern condition (all fields match pattern)
21852185
:type _all_: MultiFieldPatternData
@@ -2243,7 +2243,7 @@ class GetAllRequest(Request):
22432243
"last_update": {
22442244
"description": (
22452245
"List of last_update constraint strings, or a single string (utcformat, epoch) with an optional prefix "
2246-
"modifier (\>,\>=, \<, \<=)"
2246+
"modifier (\\>,\\>=, \\<, \\<=)"
22472247
),
22482248
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
22492249
"type": ["string", "array", "null"],

clearml/backend_api/services/v2_23/tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8070,7 +8070,7 @@ class GetAllRequest(Request):
80708070
:param parent: Parent ID
80718071
:type parent: str
80728072
:param status_changed: List of status changed constraint strings (utcformat,
8073-
epoch) with an optional prefix modifier (\>,\>=, \<, \<=)
8073+
epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)
80748074
:type status_changed: Sequence[str]
80758075
:param search_text: Free text search query
80768076
:type search_text: str
@@ -8219,7 +8219,7 @@ class GetAllRequest(Request):
82198219
"status_changed": {
82208220
"description": (
82218221
"List of status changed constraint strings, or a single string (utcformat, epoch) with an optional prefix modifier "
8222-
"(\>,\>=, \<, \<=)"
8222+
"(\\>,\\>=, \\<, \\<=)"
82238223
),
82248224
"items": {"pattern": "^(>=|>|<=|<)?.*$", "type": "string"},
82258225
"type": ["string", "array", "null"],

clearml/backend_api/services/v2_9/tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5371,7 +5371,7 @@ class GetAllRequest(Request):
53715371
:param parent: Parent ID
53725372
:type parent: str
53735373
:param status_changed: List of status changed constraint strings (utcformat,
5374-
epoch) with an optional prefix modifier (\>,\>=, \<, \<=)
5374+
epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)
53755375
:type status_changed: Sequence[str]
53765376
:param search_text: Free text search query
53775377
:type search_text: str
@@ -5477,7 +5477,7 @@ class GetAllRequest(Request):
54775477
'type': ['array', 'null'],
54785478
},
54795479
'status_changed': {
5480-
'description': 'List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\>,\>=, \<, \<=)',
5480+
'description': 'List of status changed constraint strings (utcformat, epoch) with an optional prefix modifier (\\>,\\>=, \\<, \\<=)',
54815481
'items': {'pattern': '^(>=|>|<=|<)?.*$', 'type': 'string'},
54825482
'type': ['array', 'null'],
54835483
},

clearml/storage/manager.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def upload_folder(cls, local_folder, remote_url, match_wildcard=None, retries=No
220220
221221
.. note::
222222
223-
If we have a local file ``\~/folder/sub/file.ext`` then
224-
``StorageManager.upload_folder('\~/folder/', 's3://bucket/')``
223+
If we have a local file ``\\~/folder/sub/file.ext`` then
224+
``StorageManager.upload_folder('\\~/folder/', 's3://bucket/')``
225225
will create ``s3://bucket/sub/file.ext``
226226
227227
:param str local_folder: Local folder to recursively upload

clearml/task.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def init(
347347
files_server will be used for model storage. In the default location, ClearML creates a subfolder for the
348348
output. If set to False, local runs will not upload output models and artifacts,
349349
and remote runs will not use any default values provided using ``default_output_uri``.
350-
The subfolder structure is the following: \<output destination name\> / \<project name\> / \<task name\>.\<Task ID\>.
350+
The subfolder structure is the following: \\<output destination name\\> / \\<project name\\> / \\<task name\\>.\\<Task ID\\>.
351351
Note that for cloud storage, you must install the **ClearML** package for your cloud storage type,
352352
and then configure your storage credentials. For detailed information, see "Storage" in the ClearML
353353
Documentation.

0 commit comments

Comments
 (0)