Skip to content

feat: add score_deploy_v2.py using Prefect's .from_source API (Deploy… #381

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

habeeb3579
Copy link

✨ Summary

This PR adds score_deploy_v2.py, a Prefect deployment script that replaces the deprecated Deployment class with the newer .from_source(...).deploy() method introduced in more recent versions of Prefect.

🔧 Context

Prefect has deprecated Deployment(...) in favor of .from_source().deploy() for defining deployments programmatically. This update ensures compatibility with current versions of Prefect.

✅ Changes

  • Added score_deploy_v2.py for deploying ride_duration_prediction flow using the modern Prefect API

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.

1 participant