Class QiPartialT

protocol ooodev.utils.partial.qi_partial_t.QiPartialT[source]

typing.Protocol.

Classes that implement this protocol must have the following methods / attributes:

qi(atype: Type) T | None
qi(atype: Type, raise_err: Literal[True]) T
qi(atype: Type, raise_err: Literal[False]) T | None
qi(**kwds)

Helper for @overload to raise when called.