Skip to content

Commit

Permalink
docs: gather dims union types
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffit committed Aug 16, 2023
1 parent 0518923 commit 020d857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scores/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def gather_dimensions(fcst_dims, obs_dims, weights_dims=None, reduce_dims=None,
fcst_dims (Iterable[str]): Forecast dimensions inputs
obs_dims (Iterable[str]): Observation dimensions inputs.
weights_dims (Iterable[str]): Weight dimension inputs.
reduce_dims (Iterable[str]): Dimensions to reduce.
preserve_dims (Iterable[str]): Dimensions to preserve.
reduce_dims (Union[str, Iterable[str]]): Dimensions to reduce.
preserve_dims (Union[str, Iterable[str]]): Dimensions to preserve.
Returns:
Tuple[str]: Dimensions based on optional args.
Expand Down

0 comments on commit 020d857

Please sign in to comment.