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

add prefect __main__ module #16790

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

add prefect __main__ module #16790

wants to merge 1 commit into from

Conversation

sky-code
Copy link

Added main module to prefect package to be able to use prefect cli with python -m prefect ... approach.

Copy link

codspeed-hq bot commented Jan 21, 2025

CodSpeed Performance Report

Merging #16790 will not alter performance

Comparing sky-code:main (39a311b) with main (e047607)

Summary

✅ 2 untouched benchmarks

@desertaxle
Copy link
Member

Thanks for opening a PR, @sky-code! Could you provide a bit more information on why this change is needed?

@sky-code
Copy link
Author

Thanks for opening a PR, @sky-code! Could you provide a bit more information on why this change is needed?

It primarily enables better integration with certain tools. For instance, this approach allows you to easily use PyCharm’s run configurations to execute Prefect CLI commands, such as:
image

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.

2 participants