Skip to content

Commit

Permalink
Introduce flow.deploy and deploy (PrefectHQ#10975)
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle authored Oct 19, 2023
1 parent 35a2d57 commit ff5a124
Show file tree
Hide file tree
Showing 10 changed files with 1,137 additions and 22 deletions.
3 changes: 3 additions & 0 deletions src/prefect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

# Import user-facing API
from prefect.runner import Runner, serve
from prefect.deployments import deploy
from prefect.states import State
from prefect.logging import get_run_logger
from prefect.flows import flow, Flow
Expand Down Expand Up @@ -169,4 +170,6 @@ def find_spec(self, fullname, path, target=None):
"Task",
"unmapped",
"Runner",
"serve",
"deploy",
]
2 changes: 1 addition & 1 deletion src/prefect/deployments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
load_deployments_from_yaml,
Deployment,
)
from prefect.deployments.runner import RunnerDeployment
from prefect.deployments.runner import RunnerDeployment, deploy, DeploymentImage
Loading

0 comments on commit ff5a124

Please sign in to comment.