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 72eff81 commit 6e4cf32
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1365,14 +1365,17 @@ def get() -> "OpExecutionContext":
return ctx.op_execution_context


###############################
######## AssetExecutionContext
###############################


def _copy_docs_from_op_execution_context(obj: T_Annotatable) -> T_Annotatable:
target = _get_annotation_target(obj)
if isfunction(target):
setattr(target, "__doc__", getattr(OpExecutionContext, target.__name__).__doc__)
return obj
###############################
######## AssetExecutionContext
###############################


ALTERNATE_METHODS = {
"run_id": "run_properties.run_id",
Expand Down Expand Up @@ -1490,7 +1493,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 6e4cf32

Please sign in to comment.