Tim Helfensdörfer

    Tim Helfensdörfer

    5 months ago
    Hey everyone! Everything seems to be setup correctly so far, but I get the error "Flow is not contained in this Storage". Even though, I can docker exec into the storage in question and execute the python file manually. I've written a more detailed description with the actual code in the GitHub discussion board https://github.com/PrefectHQ/prefect/discussions/5680 - but did not get any responses so far. Does anyone have any idea what I did wrong?
    Anna Geller

    Anna Geller

    5 months ago
    Thanks for sharing your code in the issue - it's easier for us to answer via discourse.prefect.io or here via Slack, but GitHub is also fine even though we are slower there. If you add this line before your registration, the error should be gone:
    docker_storage.add_flow(flow)
    I added a more detailed explanation directly on GitHub
    Tim Helfensdörfer

    Tim Helfensdörfer

    5 months ago
    Thats great thanks! I will check it out and mark your answer on github as a solution if it works. I just thought that if you pass the storage as a parameter that it's automatically added.