-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adds support for picking a non-prd Prefect Cloud environment #15
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,12 +151,10 @@ async def deploy( | |
f"\n ➜ [link={url_for('deployment', deployment_id)}]" | ||
f"{deployment_name}" | ||
f"[/link]", | ||
style="blue", | ||
) | ||
|
||
app.console.print( | ||
f"Run it with: \n $ prefect deployment run {function}/{deployment_name}", | ||
style="blue", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These blue styles are pretty dark on Ubuntu's default theme. Dialing them back for now There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. boooo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I joke |
||
f"Run it with: \n $ prefect-cloud run {function}/{deployment_name}", | ||
) | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There a pydantic settings file we could use for this instead of getting it directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I've felt a little off-kilter with where the settings should be with this one, since we're kinda piggybacking on
~/.prefect/profiles.toml
. I figured this was only for us devs, so we didn't want to expose this as a user-facing option (like as a--cloud-env
switch or something, which is how I started)