Skip to content

Commit

Permalink
[assets] Allow graph_name to be None when not specified (#8247)
Browse files Browse the repository at this point in the history
Co-authored-by: bengotow <bgotow@elementl.com>
  • Loading branch information
bengotow and bengotow committed Jun 8, 2022
1 parent df10793 commit 455096b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,6 @@ def __new__(
# backcompat logic to handle ExternalAssetNodes serialized without op_names/graph_name
if not op_names:
op_names = list(filter(None, [op_name]))
if not graph_name:
graph_name = op_name
return super(ExternalAssetNode, cls).__new__(
cls,
asset_key=check.inst_param(asset_key, "asset_key", AssetKey),
Expand Down

0 comments on commit 455096b

Please sign in to comment.