Riaan Pretorius
07/10/2024, 9:48 AMfrom prefect import serve
from flows import dispatcher
if __name__ == "__main__":
# Only use for localhost testing
serve(<http://dispatcher.dispatch.to|dispatcher.dispatch.to>_deployment("dispatch"))
I get this error when it runs:
prefect.exceptions.PrefectHTTPStatusError: Client error '404 Not Found' for url '<http://ephemeral-prefect/api/work_pools/etl-application-pool>' │
│ Response: {'detail': 'Work pool "etl-application-pool" not found.'}
This code runs once in a docker container - any hints anyone?