Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Dec 7, 2023
1 parent 3ef64cd commit 9c8cdb6
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1361,13 +1361,15 @@ def get() -> "OpExecutionContext":
return ctx.op_execution_context


def _copy_docs_from_op_execution_context(obj):
setattr(obj, "__doc__", getattr(OpExecutionContext, obj.__name__).__doc__)
return obj
###############################
######## AssetExecutionContext
###############################

def _copy_docs_from_op_execution_context(obj):
setattr(obj, "__doc__", getattr(OpExecutionContext, obj.__name__).__doc__)
return obj


ALTERNATE_METHODS = {
"run_id": "run_properties.run_id",
"run": "run_properties.dagster_run",
Expand Down Expand Up @@ -1484,7 +1486,6 @@ def run_config(self) -> Mapping[str, object]:
def retry_number(self):
return self.op_execution_context.retry_number


########## pass-through to op context

@public
Expand Down

0 comments on commit 9c8cdb6

Please sign in to comment.