gdsfactory.typings.CellSpec

Contents

gdsfactory.typings.CellSpec#

gdsfactory.typings.CellSpec: TypeAlias = str | collections.abc.Callable[..., gdsfactory.component.Component] | dict[str, typing.Any]#

Represent a PEP 604 union type

E.g. for int | str