is there a way to get a run URL from a OpExecution...
# ask-community
l
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
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