Contents
Return the typing origin for cls or cls itself when passthrough is True.
cls
True
GenericsError – If cls has no origin and passthrough is False.
passthrough
False
cls (type | GenericAlias)
passthrough (bool)
type