Skip to content

Commit

Permalink
fix asset partitions runtime check (#7525)
Browse files Browse the repository at this point in the history
* fix asset partitions runtime check
  • Loading branch information
smackesey committed Apr 21, 2022
1 parent b258c47 commit 36f51f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python_modules/dagster/dagster/core/definitions/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,7 @@ def __new__(
root_manager_key=check.opt_str_param(root_manager_key, "root_manager_key"),
metadata=check.opt_dict_param(metadata, "metadata", key_type=str),
asset_key=check.opt_inst_param(asset_key, "asset_key", (AssetKey, FunctionType)),
asset_partitions=check.opt_inst_param(
asset_partitions, "asset_partitions", (Set[str], FunctionType)
),
asset_partitions=asset_partitions,
)

@staticmethod
Expand Down

0 comments on commit 36f51f4

Please sign in to comment.