layer can be any Hashable type
This commit is contained in:
parent
348e2f4ed1
commit
35dbc1a4ff
@ -1,5 +1,5 @@
|
|||||||
from typing import Union, Tuple, List, Sequence, Optional
|
from typing import Union, Tuple, List, Sequence, Optional, Hashable
|
||||||
|
|
||||||
layer_t = Tuple[int, int]
|
layer_t = Hashable
|
||||||
contour_t = List[Tuple[int, int]]
|
contour_t = List[Tuple[int, int]]
|
||||||
connectivity_t = Sequence[Tuple[layer_t, Optional[layer_t], layer_t]]
|
connectivity_t = Sequence[Tuple[layer_t, Optional[layer_t], layer_t]]
|
||||||
|
Loading…
Reference in New Issue
Block a user