gdsfactory.typings.ComponentSpec#
- gdsfactory.typings.ComponentSpec: TypeAlias = str | collections.abc.Callable[..., gdsfactory.component.Component] | dict[str, typing.Any] | kfactory.kcell.DKCell | functools.partial[gdsfactory.component.Component]#
Represent a PEP 604 union type
E.g. for int | str