Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Jun 2, 2024
1 parent e9e610f commit 58ccf54
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,11 @@ def __call__(self, fn: Callable[..., Any]) -> AssetsDefinition:
)


def compute_required_resource_keys(required_resource_keys, resource_defs, fn) -> Set[str]:
def compute_required_resource_keys(
required_resource_keys: Set[str],
resource_defs: Mapping[str, ResourceDefinition],
fn: Callable[..., Any],
) -> Set[str]:
bare_required_resource_keys = required_resource_keys.copy()
resource_defs_keys = set(resource_defs.keys())
required_resource_keys = bare_required_resource_keys | resource_defs_keys
Expand Down

0 comments on commit 58ccf54

Please sign in to comment.