Justin Malcolm
07/12/2023, 5:43 PMjpuris
07/12/2023, 6:49 PM<http://iTerm2.app|iTerm2.app>
by any chance?Justin Malcolm
07/12/2023, 6:51 PMjpuris
07/12/2023, 6:54 PM<http://iTerm2.app|iTerm2.app>
and <http://VSCode.app|VSCode.app> (terminal)
Justin Malcolm
07/12/2023, 6:55 PMjpuris
07/12/2023, 6:58 PMdeployment run
print https://github.com/PrefectHQ/prefect/blob/79e2bd6159106d2e23711b41c6fea88626c5f9ca/src/prefect/cli/deployment.py#L623
Looks sort of normal.. it does seem odd that it works one way and not the otherJustin Malcolm
07/12/2023, 7:00 PMjpuris
07/12/2023, 7:14 PMRichTextIO
class adds to the output that breaks the terminal in detecting urls properly 🤷mkdir -p tmp/prefect_rich_experiment && $_
python3 -m venv venv && source venv/bin/activate
pip install prefect
python
this works fine
PREFECT_UI_URL = "<https://app.prefect.cloud/account/7faa0570-20e6-11ee-be56-0242ac120002/workspace/7faa0570-20e6-11ee-be56-0242ac120002>"
deployment_id = "7faa0570-20e6-11ee-be56-0242ac120002"
print(
"View Deployment in UI:"
f" {PREFECT_UI_URL}/deployments/deployment/{deployment_id}"
)
this does not..
from rich import print
PREFECT_UI_URL = "<https://app.prefect.cloud/account/7faa0570-20e6-11ee-be56-0242ac120002/workspace/7faa0570-20e6-11ee-be56-0242ac120002>"
deployment_id = "7faa0570-20e6-11ee-be56-0242ac120002"
print(
"View Deployment in UI:"
f" {PREFECT_UI_URL}/deployments/deployment/{deployment_id}"
)
Justin Malcolm
07/12/2023, 7:23 PM