Hi, I am trying to run a flow on prefect cloud usi...
# ask-community
s
Hi, I am trying to run a flow on prefect cloud using a vertex agent and dask executor I registered my flow using the python. My flow environment is on dockerhub and I am using github storage Getting an error regarding name on prefect cloud. Any help would be appreciated.
a
Can you share how did you define your Github storage and VertexRun run config?
This post may be helpful since it uses a very similar setup https://rdrn.me/scaling-out-prefect/
s
The github storage and vertex run config
Copy code
flow.storage = GitHub(
    repo={{repository path}},
    path="folder/flow_file.py",
    access_token_secret="GITHUB_ACCESS_TOKEN"
)

flow.run_config = VertexRun(
    image={{Docker image path}},
    machine_type="e2-highmem-8",
    labels=["test"]
)
a
this looks fine. Can you share the entire flow? the error indicates some import issue. Do you have some relative imports? based on this it looks like import issue
s
@Anna Geller Thank you for the help, I figured it out. I think the error was due to the flow environment folder being a package inside another directory.
🙌 1