https://prefect.io logo
j

Josef Trefil

11/11/2020, 10:10 AM
Hi, I'm trying to register this tutorial flow
Copy code
@task
def hello_task():
    logger = prefect.context.get("logger")
    <http://logger.info|logger.info>("Hello, Cloud!")

flow = Flow("hello-flow", tasks=[hello_task])
flow.storage = Docker()
flow.register(project_name="myproject")
into Prefect running on server backend + desktop Docker with Kubernetes v 1.19.3 Running the flow works flawlessly but if I call flow.register() i get this: