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 Everyone, We Are Using Clearml In Our Setup. I Am Trying To Retrieve Workers And Gpu Utilization From Clearml Api. Can I Get Info How Do I Get Api Token For That And What Endpoints Should Be Useful In That Case? I Need To Retrieve Busy Workers For A Sp


Thanks for the reply.
So, all requests should be post even when I'm trying to collect data?
For https://clear.ml/docs/latest/docs/references/api/workers#post-workersget_activity_report
when I am trying this
`
import requests, json
from requests.auth import HTTPBasicAuth

request_body = {
"from_date": "1665867715",
"interval": "3600",
"to_date": "1666213315"
}
url = web_server+"/workers.get_activity_report"

response = requests.get(url, auth=HTTPBasicAuth(access_key, secret_key), json=request_body) `I get response as 200
but response.json() throwing error
response.content showing html page output.
What am I missing?

I tried with requests.post but then I got 405 Not Allowed

  
  
Posted one year ago
76 Views
0 Answers
one year ago
one year ago