From 6f8bcec121a328c475613ac2368135c0c32ee7e6 Mon Sep 17 00:00:00 2001 From: naschmitz Date: Thu, 25 Apr 2024 06:41:56 -0700 Subject: [PATCH] Fix bad `ee.Bounds` type annotation. PiperOrigin-RevId: 628058540 --- xee/ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xee/ext.py b/xee/ext.py index 6a87097..8eb511c 100644 --- a/xee/ext.py +++ b/xee/ext.py @@ -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]),