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. From Python, Is There Away To Check How Many Worker Is There In A Given Queue ?

Hi. from Python, Is there away to check how many worker is there in a given queue ?

  
  
Posted one month ago
Votes Newest

Answers 6


Should I get all the workers None
Then go through them and count how many is in my queue of interest ?

  
  
Posted 28 days ago

Hi @<1576381444509405184:profile|ManiacalLizard2> , you can use the API client to query the queues - None

  
  
Posted 28 days ago

I saw that page ... but nothing about number of worker of a queue .... or did I miss it ?

  
  
Posted 28 days ago

or which worker is in a queue ...

  
  
Posted 28 days ago

It is returned in queues.get_all. I'd suggest navigating to the webUI and checking what the webUI is sending to the server (It's all API calls) and replicating that in code with the APIClient

  
  
Posted 28 days ago

got it

Thanks @<1523701070390366208:profile|CostlyOstrich36>
image

  
  
Posted 28 days ago