gdsfactory.typings.MaterialSpec#
- gdsfactory.typings.MaterialSpec: TypeAlias = str | float | tuple[float, float] | collections.abc.Callable[..., typing.Any] | numpy.ndarray[tuple[int, ...], numpy.dtype[numpy.float64]]#
Represent a PEP 604 union type
E.g. for int | str