From e143f390249daac2713bd51866507c4a877b8e6d Mon Sep 17 00:00:00 2001 From: Adam Azzam <33043305+AAAZZAM@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:30:59 +0200 Subject: [PATCH] update docs references --- docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx | 2 +- .../how-to-guides/work-pools/serverless-push-work.mdx | 6 +++--- docs/2.19.x/tutorial/work-pools.mdx | 2 +- docs/2.19.x/tutorial/workers.mdx | 2 +- docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx | 2 +- docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx | 6 +++--- docs/3.0rc/deploy/work-pools/control-runs.mdx | 2 +- docs/3.0rc/deploy/work-pools/prefect-deploy.mdx | 2 +- docs/integrations/prefect-azure/aci_worker.mdx | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx b/docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx index 12bd88b96dab..6e4d47a693fe 100644 --- a/docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx +++ b/docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx @@ -149,7 +149,7 @@ If you want to use a custom Dockerfile, you can specify the path to the Dockerfi ```python custom_dockerfile.py from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/2.19.x/how-to-guides/work-pools/serverless-push-work.mdx b/docs/2.19.x/how-to-guides/work-pools/serverless-push-work.mdx index 7fa39a7e44f6..c4c562ef95c4 100644 --- a/docs/2.19.x/how-to-guides/work-pools/serverless-push-work.mdx +++ b/docs/2.19.x/how-to-guides/work-pools/serverless-push-work.mdx @@ -200,7 +200,7 @@ example\_deploy\_script.py ``` from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) def my_flow(name: str = "world"): @@ -284,7 +284,7 @@ To take advantage of this functionality, you can write your deploy scripts like ```python example_deploy_script.py from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) @@ -368,7 +368,7 @@ example\_deploy\_script.py ``` from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/2.19.x/tutorial/work-pools.mdx b/docs/2.19.x/tutorial/work-pools.mdx index ea56afae420a..44f2f09f6751 100644 --- a/docs/2.19.x/tutorial/work-pools.mdx +++ b/docs/2.19.x/tutorial/work-pools.mdx @@ -257,7 +257,7 @@ To take advantage of this functionality, you can write your deploy script like t ```python example_deploy_script.py from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/2.19.x/tutorial/workers.mdx b/docs/2.19.x/tutorial/workers.mdx index 862a00bc876b..202b00b947b3 100644 --- a/docs/2.19.x/tutorial/workers.mdx +++ b/docs/2.19.x/tutorial/workers.mdx @@ -157,7 +157,7 @@ If you want to use a custom Dockerfile, you can specify the path to the Dockerfi ```python repo_info.py import httpx from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx b/docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx index 0073efe100c0..328b83b4874a 100644 --- a/docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx +++ b/docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx @@ -188,7 +188,7 @@ containers whenever this workflow needs to run. ```python repo_info.py import httpx from prefect import flow - from prefect.deployments import DeploymentImage + from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx b/docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx index 2981115d6a1e..f3dd5013ebba 100644 --- a/docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx +++ b/docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx @@ -232,7 +232,7 @@ run this command for your particular cloud provider: ```python example_deploy_script.py from prefect import flow - from prefect.deployments import DeploymentImage + from prefect.docker import DeploymentImage @flow(log_prints=True) def my_flow(name: str = "world"): @@ -325,7 +325,7 @@ run this command for your particular cloud provider: ```python example_deploy_script.py from prefect import flow - from prefect.deployments import DeploymentImage + from prefect.docker import DeploymentImage @flow(log_prints=True) @@ -418,7 +418,7 @@ run this command for your particular cloud provider: ```python example_deploy_script.py from prefect import flow - from prefect.deployments import DeploymentImage + from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/3.0rc/deploy/work-pools/control-runs.mdx b/docs/3.0rc/deploy/work-pools/control-runs.mdx index bda6daf7d2c9..b553c77aa508 100644 --- a/docs/3.0rc/deploy/work-pools/control-runs.mdx +++ b/docs/3.0rc/deploy/work-pools/control-runs.mdx @@ -933,7 +933,7 @@ To use this functionality, write your deploy script like this: ```python example_deploy_script.py from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/3.0rc/deploy/work-pools/prefect-deploy.mdx b/docs/3.0rc/deploy/work-pools/prefect-deploy.mdx index 6ff97eb7496b..ed284d7c5451 100644 --- a/docs/3.0rc/deploy/work-pools/prefect-deploy.mdx +++ b/docs/3.0rc/deploy/work-pools/prefect-deploy.mdx @@ -203,7 +203,7 @@ If you want to use a custom Dockerfile, specify the path to the Dockerfile with ```python custom_dockerfile.py from prefect import flow -from prefect.deployments import DeploymentImage +from prefect.docker import DeploymentImage @flow(log_prints=True) diff --git a/docs/integrations/prefect-azure/aci_worker.mdx b/docs/integrations/prefect-azure/aci_worker.mdx index d752110ed9a5..a5e42c8144e8 100644 --- a/docs/integrations/prefect-azure/aci_worker.mdx +++ b/docs/integrations/prefect-azure/aci_worker.mdx @@ -201,7 +201,7 @@ Create and run the following script to deploy your flow. Be sure to replace `