Deceivious08/11/2022, 3:36 PM
prefect deployment apply ...
CLI commands to deploy and build flows. Is there a python equivalent to these commands?
prefect deployment build ...
from prefect.client import OrionClient
Khuyen Tran08/11/2022, 3:37 PM
object for Python and will be released soon
Deceivious08/11/2022, 3:38 PM
Nate08/11/2022, 4:43 PM
creating docker container infrastructure block and saving it
from prefect.filesystems import Azure azure_storage_block = Azure(basepath="my-bucket/folder/") azure_storage_block.save("dev")
from prefect.infrastructure import DockerContainer docker_container_block = DockerContainer(**my_args) docker_container_block.save("my_container_setup")
Deceivious08/11/2022, 4:44 PM