Skip to content

Commit

Permalink
update docs references
Browse files Browse the repository at this point in the history
  • Loading branch information
aaazzam committed Jun 19, 2024
1 parent 63b24cb commit e143f39
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/2.19.x/how-to-guides/work-pools/deploying-flows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/2.19.x/how-to-guides/work-pools/serverless-push-work.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/2.19.x/tutorial/work-pools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/2.19.x/tutorial/workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0rc/deploy/dynamic-infra/push-runs-remote.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/3.0rc/deploy/dynamic-infra/push-runs-serverless.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0rc/deploy/work-pools/control-runs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/3.0rc/deploy/work-pools/prefect-deploy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/prefect-azure/aci_worker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Create and run the following script to deploy your flow. Be sure to replace `<re
```python
from prefect import flow
from prefect.logging import get_run_logger
from prefect.deployments import DeploymentImage
from prefect.docker import DeploymentImage

@flow
def my_flow():
Expand Down

0 comments on commit e143f39

Please sign in to comment.