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
Answered
Hi All, I'M Looking For An Easy Clean Way To Check If The Code Is Executed By A Clearml Agent Programatically, Any Suggestions?

Hi all, I'm looking for an easy clean way to check if the code is executed by a ClearML agent programatically, any suggestions?

  
  
Posted 3 years ago
Votes Newest

Answers 5


cool thanks! local is quite confusing in this context.. but works 🙂

  
  
Posted 3 years ago

Task.running_localy()
Should do the trick

  
  
Posted 3 years ago

neither Task nor task seem to have this attribute 🤔

  
  
Posted 3 years ago

Apologies on the typo ;)
There is also a global "running_remotely" but it's not on the task

  
  
Posted 3 years ago

*running_locally()

  
  
Posted 3 years ago
1K Views
5 Answers
3 years ago
one year ago
Tags