using for loop to install conda package

This commit is contained in:
ton
2023-04-16 11:03:27 +07:00
parent 49da9f29c1
commit 0c2b34d6f8
12168 changed files with 2656238 additions and 1 deletions

View 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",
]