Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Sep 18, 2023
1 parent 913f278 commit ec70892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ def build_execution_context(
"""
is_sda_step = step_context.is_sda_step
is_op_in_graph_asset = step_context.is_graph_asset_op
is_op_in_graph_asset = is_sda_step and step_context.is_op_in_graph
context_annotation = EmptyAnnotation
compute_fn = step_context.op_def._compute_fn # noqa: SLF001
compute_fn = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ def op_config(self) -> Any:
return op_config.config if op_config else None

@property
def is_graph_asset_op(self) -> bool:
def is_op_in_graph(self) -> bool:
return self.step.node_handle.parent is not None

@property
Expand Down

0 comments on commit ec70892

Please sign in to comment.