frojo
08/05/2022, 2:33 PMfrom prefect.infrastructure.docker import DockerContainer, ImagePullPolicy
docker_block = DockerContainer(image="some-image",
image_pull_policy=ImagePullPolicy.ALWAYS,env=dict(PREFECT_LOGGING_LEVEL="DEBUG"))
docker_block.save("docker-image")
However if I add the block from the UI the change is reflected and shown.
Any advice?Mike Kovetsky
08/05/2022, 3:20 PMJosh Furlin
08/05/2022, 3:33 PMfrojo
08/05/2022, 3:44 PMJosh Furlin
08/05/2022, 5:15 PMfrojo
08/08/2022, 1:40 PMJosh Furlin
08/08/2022, 2:49 PMBring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by