Skip to content

Commit

Permalink
Update pyresample/boundary/boundary_sides.py
Browse files Browse the repository at this point in the history
Co-authored-by: David Hoese <david.hoese@ssec.wisc.edu>
  • Loading branch information
ghiggi and djhoese authored Dec 12, 2023
1 parent 47e2004 commit a2e9fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyresample/boundary/boundary_sides.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BoundarySides:
"""
__slots__ = ['_sides']

def __init__(self, sides):
def __init__(self, sides: tuple[ArrayLike, ArrayLike, ArrayLike, ArrayLike]):
"""Initialize the BoundarySides object."""
if len(sides) != 4 or not all(isinstance(side, np.ndarray) and side.ndim == 1 for side in sides):
raise ValueError("Sides must be a list of four numpy arrays.")
Expand Down

0 comments on commit a2e9fb1

Please sign in to comment.