Skip to content

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

Open
habeeb3579 wants to merge 1 commit intoDataTalksClub:mainfrom
habeeb3579:add-score-deploy-v2
Open

feat: add score_deploy_v2.py using Prefect's .from_source API (Deploy…#381
habeeb3579 wants to merge 1 commit intoDataTalksClub:mainfrom
habeeb3579:add-score-deploy-v2

Conversation

@habeeb3579
Copy link
Copy Markdown

✨ 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