aletrn commited on
Commit
bcbf5cd
·
1 Parent(s): e557697

[feat] add more functions to handle different inference cases, using also an embedding dict to store embedding images

Browse files
Files changed (1) hide show
  1. samgis/utilities/type_hints.py +3 -1
samgis/utilities/type_hints.py CHANGED
@@ -1,11 +1,13 @@
1
  """custom type hints"""
2
- from enum import IntEnum, Enum, StrEnum
3
  from typing import TypedDict
4
 
5
  from affine import Affine
6
  from numpy import ndarray
7
  from pydantic import BaseModel
8
 
 
 
9
 
10
  tuple_ndarray_transform = tuple[ndarray, Affine]
11
 
 
1
  """custom type hints"""
2
+ from enum import IntEnum, Enum
3
  from typing import TypedDict
4
 
5
  from affine import Affine
6
  from numpy import ndarray
7
  from pydantic import BaseModel
8
 
9
+ from samgis_core.utilities.type_hints import StrEnum
10
+
11
 
12
  tuple_ndarray_transform = tuple[ndarray, Affine]
13