gdsfactory.typings.LayerSpecs

Contents

gdsfactory.typings.LayerSpecs#

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

Represent a PEP 604 union type

E.g. for int | str