From 90b668eae806324d278f77a14e69268b263354d7 Mon Sep 17 00:00:00 2001 From: revital Date: Wed, 25 Oct 2023 11:23:46 +0300 Subject: [PATCH] edits --- clearml/task.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clearml/task.py b/clearml/task.py index 59a51ebc..3e0a8161 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -1053,15 +1053,15 @@ class Task(_Task): Return any partial match of task_name, regular expressions matching is also supported. If None is passed, returns all tasks within the project :param list tags: Filter based on the requested list of tags (strings). - To exclude a tag add "-" prefix to the tag. Example: ["best", "-debug"]. + To exclude a tag add "-" prefix to the tag. Example: ``["best", "-debug"]``. The default behaviour is to join all tags with a logical "OR" operator. To join all tags with a logical "AND" operator instead, use "__$all" as the first string, for example: - ["__$all", "best", "experiment", "ever"]. + ``["__$all", "best", "experiment", "ever"]``. To join all tags with AND, but exclude a tag use "__$not" before the excluded tag, for example: - ["__$all", "best", "experiment", "ever", "__$not", "internal", "__$not", "test"]. + ``["__$all", "best", "experiment", "ever", "__$not", "internal", "__$not", "test"]`` The "OR" and "AND" operators apply to all tags that follow them until another operator is specified. The NOT operator applies only to the immediately following tag. - For example, ["__$all", "a", "b", "c", "__$or", "d", "__$not", "e", "__$and", "__$or" "f", "g"] + For example, ``["__$all", "a", "b", "c", "__$or", "d", "__$not", "e", "__$and", "__$or" "f", "g"]``. means ("a" AND "b" AND "c" AND ("d" OR NOT "e") AND ("f" OR "g")). See https://clear.ml/docs/latest/docs/clearml_sdk/task_sdk/#tag-filters for more information. :param list additional_return_fields: Optional, if not provided return a list of Task IDs.