https://dagster.io/ logo
#ask-community
Title
# ask-community
l

Leo Qin

02/28/2023, 10:01 PM
is there a way to get a run URL from a OpExecutionContext ?
there is a run ID that I see, but how would i retrieve the deployment name? Or, is there a better way of doing this?
d

daniel

02/28/2023, 10:05 PM
assuming this is cloud, I think this would work?
Copy code
deployment_name = os.getenv("DAGSTER_CLOUD_DEPLOYMENT_NAME")
org_name = "your_org_name_goes_here"
return f"https://{org_name}.dagster.cloud/{deployment_name}/runs/{run_id}
🙏 2
6 Views