diff --git a/python_modules/dagster/dagster_tests/definitions_tests/test_observable_assets.py b/python_modules/dagster/dagster_tests/definitions_tests/test_observable_assets.py index 369b3993dfa92..027ef0b43f02d 100644 --- a/python_modules/dagster/dagster_tests/definitions_tests/test_observable_assets.py +++ b/python_modules/dagster/dagster_tests/definitions_tests/test_observable_assets.py @@ -1,4 +1,4 @@ -from typing import AbstractSet +from typing import AbstractSet, Iterable import pytest from dagster import ( @@ -128,12 +128,12 @@ def an_asset(source_asset: str) -> str: def get_job_for_assets(defs: Definitions, *coercibles_or_defs) -> JobDefinition: - job_def = defs.get_implicit_job_def_for_assets(set_from_coercibles_or_defs(*coercibles_or_defs)) + job_def = defs.get_implicit_job_def_for_assets(set_from_coercibles_or_defs(coercibles_or_defs)) assert job_def, "Expected to find a job def" return job_def -def set_from_coercibles_or_defs(*coercibles_or_defs) -> AbstractSet["AssetKey"]: +def set_from_coercibles_or_defs(coercibles_or_defs: Iterable) -> AbstractSet["AssetKey"]: return set( [ AssetKey.from_coercible_or_definition(coercible_or_def)