gdsfactory.typings.CrossSectionSpec

Contents

gdsfactory.typings.CrossSectionSpec#

gdsfactory.typings.CrossSectionSpec = gdsfactory.cross_section.CrossSection | str | dict[str, typing.Any] | collections.abc.Callable[..., gdsfactory.cross_section.CrossSection] | kfactory.cross_section.SymmetricalCrossSection#

Represent a PEP 604 union type

E.g. for int | str