Hi! I am trying to register a flow onto prefect cl...
# ask-community
a
Hi! I am trying to register a flow onto prefect cloud with docker config:
Copy code
flow.run_configs = DockerRun(image="myrepo/image")
flow.register(project_name)
But it shows up incorrectly as UniversalRun in cloud UI. If I add the runconfig when I define the flow it works perfectly:
Copy code
with Flow("myflow", DockerRun(image="myrepo/image") as flow:
Any suggestion to what I am doing wrong in the first approach would be appreciated
k
I think it should be
flow.run_config
?
flow.run_config = DockerRun(image="myrepo/image")
a
🤦‍♂️ python is too flexible sometimes
cheers
k
No worries! 😆