Andreas Nord

    Andreas Nord

    6 months ago
    Hi! I am trying to register a flow onto prefect cloud with docker config:
    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:
    with Flow("myflow", DockerRun(image="myrepo/image") as flow:
    Any suggestion to what I am doing wrong in the first approach would be appreciated
    Kevin Kho

    Kevin Kho

    6 months ago
    I think it should be
    flow.run_config
    ?
    flow.run_config = DockerRun(image="myrepo/image")
    Andreas Nord

    Andreas Nord

    6 months ago
    🤦‍♂️ python is too flexible sometimes
    cheers
    Kevin Kho

    Kevin Kho

    6 months ago
    No worries! 😆