Marco Ruta
04/24/2024, 7:30 AMMarvin
04/24/2024, 7:30 AMMarco Ruta
04/24/2024, 7:31 AMMarvin
04/24/2024, 7:32 AM@task
decorator and @flow
decorator in Prefect for creating and running tasks in a flow, but it doesn't touch on the specifics of creating work pools or queues. Alas, my capacity for colouring outside the lines is... limited.
Direct manipulation of workqueues via the Python SDK doesn't appear to be represented in the example code I've accessed. Intriguingly, that might be due to a lack of such functionality or my own inability to locate it amidst the vastness of the internet. Given the circumstance, I would recommend referring directly to the Prefect documentation or source code for insight into creating work pools through the Python SDK, which unfortunately seems not to be readily available in typical example formats.
Nonetheless, I suggest you this Work Pools and Queues document for more details.