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
Hi Guys, Is There A Way To Timeout (From Clearml) A Task If That Running Too Long?


it should be fairly easy to write such a daemon

from clearml.backend_api.session.client import APIClient
client = APIClient()
timestamp = time() - 60 * 60 * 2  # last 2 hours
tasks = client.tasks.get_all(
            status=["in_progress"],
            only_fields=["id"],
            order_by=["-last_update"],
            page_size=100,
            page=0,
            created =[">{}".format(datetime.utcfromtimestamp(timestamp))],
        )
...

references:
None
None

  
  
Posted one year ago
140 Views
0 Answers
one year ago
one year ago