_OneOfGenericAlias#
- class brainstate.mixin._OneOfGenericAlias(origin, args, *, inst=True, name=None)[source]#
Generic alias for OneOfTypes (union types).
This class represents a type that requires at least one of the specified types to be satisfied. It’s similar to typing.Union but provides a consistent interface with JointTypes and avoids potential metaclass conflicts.