Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hey Clearml Experts Does Anyone Working Example How Can Use The Sdk To Delete Tasks, Where Tasks I'Ds Will Come From Static List Of Id'S I'M Generating A Json File With List Of Tasks, Review Them Then I Want To Delete Them In Batch Something Similar To


thanks @<1523701070390366208:profile|CostlyOstrich36>
I've done this successfully using the API already
as for the sdk option - in which format should I provide the list of tasks/projects to the sdk?

for
only_fields=["id", "name","created","status_changed","status", "user"], :

output example

{'id': '02a3f5929cf246138994c9243a692219', 'name': 'docfm_v7_safe_32gpu80g_11Jan24_4w', 'created': datetime.datetime(2024, 1, 11, 9, 54, 33, 406000, tzinfo=tzutc()), 'status_changed': datetime.datetime(2024, 1, 11, 10, 33, 42, 951000, tzinfo=tzutc()), 'status': <TaskStatusEnum.stopped: 'stopped'>, 'user': 'a33e22b207c8aca5cbfddd5d94b9d8f2'}

what I did is in order to review it, and match project names, I convert it to:

    {
        "Task ID": "356a47d592f647a3aa187e2047443eb0",
        "Name": "docfm_v7_safe_32gpu80g_11Jan24_4w",
        "User": "a33e22b207c8aca5cbfddd5d94b9d8f2",
        "Project": "1c02916ceba84b15a1ecb6686d93a4d1",
        "Status": "stopped",
        "Created": "2024-01-11 10:34:34.190000+00:00",
        "Last Changed": "2024-01-11 15:45:39.677000+00:00"
    },
  
  
Posted one month ago
16 Views
0 Answers
one month ago
one month ago