Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move DeploymentImage to prefect.docker #14151

Merged
merged 9 commits into from
Jun 19, 2024
Merged

Move DeploymentImage to prefect.docker #14151

merged 9 commits into from
Jun 19, 2024

Conversation

aaazzam
Copy link
Contributor

@aaazzam aaazzam commented Jun 19, 2024

Related to #14149:

Attempting to fix a number of circular imports that block refactoring our init.py / import speed.

DeploymentImage is one such cause of circular imports (flows imports deployments import runner imports flows)

note that prefect.deployments still imports DeploymentImage so the import path is still preserved for folks who want to import from prefect.deployments import DeploymentImage.

IMO should be called DockerImage but not trying to die on every hill

@desertaxle
Copy link
Member

I think it makes sense to rename DeploymentImage to DockerImage if you want to. It doesn't really have anything to do with deployments by itself.

Copy link
Contributor

@billpalombi billpalombi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving docs changes

@aaazzam
Copy link
Contributor Author

aaazzam commented Jun 19, 2024

I think it makes sense to rename DeploymentImage to DockerImage if you want to. It doesn't really have anything to do with deployments by itself.

sweet, just pushed that

@aaazzam aaazzam requested a review from desertaxle June 19, 2024 19:02
Copy link
Member

@desertaxle desertaxle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aaazzam aaazzam merged commit 247e4ba into main Jun 19, 2024
26 checks passed
@aaazzam aaazzam deleted the deploymentimage branch June 19, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants