gdsfactory.typings.CrossSectionSpec#
- gdsfactory.typings.CrossSectionSpec = collections.abc.Callable[..., gdsfactory.cross_section.CrossSection] | gdsfactory.cross_section.CrossSection | dict[str, typing.Any] | str | gdsfactory.cross_section.Transition#
Represent a PEP 604 union type
E.g. for int | str