layer can be any Hashable type

This commit is contained in:
jan 2022-03-30 23:57:50 -07:00
parent 348e2f4ed1
commit 35dbc1a4ff

View File

@ -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]]
connectivity_t = Sequence[Tuple[layer_t, Optional[layer_t], layer_t]]