Skip to content

Commit 07c9bbc

Browse files
schwehrGoogle Earth Engine Authors
authored andcommitted
_arg_types.py: refine Image and ImageCollection type aliases.
PiperOrigin-RevId: 867203171
1 parent 321487a commit 07c9bbc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

python/ee/_arg_types.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@
6161
]
6262
Filter = Union[ee_filter.Filter, computedobject.ComputedObject]
6363
Geometry = Union[AnyType, computedobject.ComputedObject]
64-
Image = Union[AnyType, image.Image, computedobject.ComputedObject]
64+
Image = Union[str, ee_string.String, image.Image, computedobject.ComputedObject]
6565
ImageCollection = Union[
66-
AnyType, imagecollection.ImageCollection, computedobject.ComputedObject
66+
str,
67+
ee_string.String,
68+
imagecollection.ImageCollection,
69+
computedobject.ComputedObject,
6770
]
6871
Integer = Union[int, ee_number.Number, computedobject.ComputedObject]
6972
Kernel = Union[kernel.Kernel, computedobject.ComputedObject]

0 commit comments

Comments
 (0)