comment here
This commit is contained in:
17
.CondaPkg/env/lib/python3.11/site-packages/imageio/typing.py
vendored
Normal file
17
.CondaPkg/env/lib/python3.11/site-packages/imageio/typing.py
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
from io import BytesIO
|
||||
from typing import Union, BinaryIO
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
from numpy.typing import ArrayLike
|
||||
except ImportError:
|
||||
# numpy<1.20 fall back to using ndarray
|
||||
from numpy import ndarray as ArrayLike
|
||||
|
||||
ImageResource = Union[str, BytesIO, Path, BinaryIO]
|
||||
|
||||
|
||||
__all__ = [
|
||||
"ArrayLike",
|
||||
"ImageResource",
|
||||
]
|
||||
Reference in New Issue
Block a user