Skip to content

Commit

Permalink
List -> Sequence in owners param annotation (#21563)
Browse files Browse the repository at this point in the history
## Summary & Motivation

## How I Tested These Changes
  • Loading branch information
sryza authored May 1, 2024
1 parent 652d878 commit e4325de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def asset(
key: Optional[CoercibleToAssetKey] = None,
non_argument_deps: Optional[Union[Set[AssetKey], Set[str]]] = ...,
check_specs: Optional[Sequence[AssetCheckSpec]] = ...,
owners: Optional[List[str]] = ...,
owners: Optional[Sequence[str]] = ...,
) -> Callable[[Callable[..., Any]], AssetsDefinition]: ...


Expand Down Expand Up @@ -136,7 +136,7 @@ def asset(
key: Optional[CoercibleToAssetKey] = None,
non_argument_deps: Optional[Union[Set[AssetKey], Set[str]]] = None,
check_specs: Optional[Sequence[AssetCheckSpec]] = None,
owners: Optional[List[str]] = None,
owners: Optional[Sequence[str]] = None,
) -> Union[AssetsDefinition, Callable[[Callable[..., Any]], AssetsDefinition]]:
"""Create a definition for how to compute an asset.
Expand Down

0 comments on commit e4325de

Please sign in to comment.