Skip to content

Commit

Permalink
Fix bad ee.Bounds type annotation.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 628077257
  • Loading branch information
naschmitz authored and Xee authors committed Apr 25, 2024
1 parent 2f71505 commit 53cb53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def _parse_dtype(data_type: types.DataType):
return np.dtype(dt)


def _ee_bounds_to_bounds(bounds: ee.Bounds) -> types.Bounds:
def _ee_bounds_to_bounds(bounds: Dict[str, Any]) -> types.Bounds:
coords = np.array(bounds['coordinates'], dtype=np.float64)[0]
x_min, y_min, x_max, y_max = (
min(coords[:, 0]),
Expand Down

0 comments on commit 53cb53b

Please sign in to comment.