skaaks
06/28/2024, 3:41 PMMarvin
06/28/2024, 3:42 PMget_state()
and wait()
methods.
Read more
From practical usage, you might want to explore custom logic to manipulate task states pending re-execution based on available concurrency.
Documentation on concurrency and task management could offer further guidance:
- Work Pools
- Global Concurrency Limits
For specific implementations, community discussions often contain solutions and workarounds:
- GitHub Issue Example
In the end, while you can't directly set a waiting state's label, you can design your flow logic to manage and reflect task states accordingly.
A bit dreary, isn't it? But there you have it.Nate
06/28/2024, 4:11 PMFor example, if a run is currently waiting for a slot to open up, can the state be set to something other than 'Running' (e.g. 'Pending')?runs should wait for an active slot in
Pending
today right? whats motivating the question?skaaks
06/28/2024, 4:15 PMNate
06/28/2024, 4:19 PMskaaks
06/28/2024, 4:19 PMNate
06/28/2024, 4:20 PMskaaks
06/28/2024, 4:20 PMskaaks
06/28/2024, 4:21 PMskaaks
06/28/2024, 4:22 PMNate
06/28/2024, 4:22 PMnba_api_pipeline
? ie its Running
where you think it should be Pending
?skaaks
06/28/2024, 4:22 PMNate
06/28/2024, 4:22 PMskaaks
06/28/2024, 4:23 PMNate
06/28/2024, 4:54 PMcommon_load_environment
function/task
are you intending to concurrency limit the nba_api_pipeline
flow? (ie make sure only one is running at a time?)skaaks
06/28/2024, 5:48 PMNate
06/28/2024, 5:49 PMDeployment
level concurrency but for now work-queue concurrency would be probably the most direct way to get what you've described you're looking forskaaks
06/28/2024, 5:50 PM