Skip to article frontmatterSkip to article content

gdsfactory.typings.LayerSpec

gdsfactory.typings.LayerSpec: TypeAlias = tuple[int, int] | str | int | kfactory.layer.LayerEnum

Represent a PEP 604 union type

E.g. for int | str