ITADN

can `hq worker info` support a selector

#1052ClosedsvatosFZU 创建于 2026-01-22
S
svatosFZUcommented
Hi, I would like to ask if `hq worker info` command could support a selector? I have script(s) analyzing situation with my jobs. For that, I need details from info commands. For jobs, the allowed syntax (as shown by `--help`) is ``` Usage: hq job info [OPTIONS] <SELECTOR> ``` So, I ran one command, put a list of jobs in it, and get one response with all the data. But for workers, the ID is required: ``` Usage: hq worker info [OPTIONS] <WORKER_ID> ``` I think it would significantly decrease load from these scripts on HyperQueue (as well as shortening their runtime) if I could just put the list of workers in one command and get one response. Now, I need to ask for info about each worker separately in a loop.
关闭于 2026-01-23 2 条评论