gdsfactory.typings.LayerSpecs

Contents

gdsfactory.typings.LayerSpecs#

gdsfactory.typings.LayerSpecs: TypeAlias = list[kfactory.kcell.LayerEnum | str | tuple[int, int]] | tuple[kfactory.kcell.LayerEnum | str | tuple[int, int], ...]#

Represent a PEP 604 union type

E.g. for int | str