Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Sep 27, 2023
1 parent 4a18b6e commit 4543a2e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,8 @@ def _make_asset_deps(deps: Optional[Iterable[CoercibleToAssetDep]]) -> Optional[

# we cannot do deduplication via a set because MultiPartitionMappings have an internal
# dictionary that cannot be hashed. Instead deduplicate by making a dictionary and checking
# for existing keys.
# for existing keys. If an asset is specified as a dependency more than once, only error if the
# dependency is different (ie has a different PartitionMapping)
if (
asset_dep.asset_key in dep_dict.keys()
and asset_dep != dep_dict[asset_dep.asset_key]
Expand Down

0 comments on commit 4543a2e

Please sign in to comment.