Skip to content

Commit

Permalink
get MetadataValue.dagster_run to show up in apidoc (#7231)
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Mar 30, 2022
1 parent a7989b7 commit 9444b2f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,11 @@ def pipeline_run(run_id: str) -> "DagsterPipelineRunMetadataValue":

@staticmethod
def dagster_run(run_id: str) -> "DagsterPipelineRunMetadataValue":
"""Static constructor for a metadata value wrapping a reference to a Dagster run.
Args:
run_id (str): The ID of the run.
"""
return MetadataValue.pipeline_run(run_id)

@staticmethod
Expand Down

0 comments on commit 9444b2f

Please sign in to comment.