pg.typing.ForwardRef¶
Accessible via pg.typing.ForwardRef
.
- class ForwardRef(module, name)[source]¶
Bases:
pg.Formattable
Forward type reference.
Methods:
Returns the forward reference as an annotation.
format
(*args[, markdown])Format this object.
Attributes:
Returns the resolved reference class..
Returns the module where the name is being referenced.
Returns the name of the type reference.
Returns the qualified name of the reference.
Returns True if the symbol for the name is resolved..
- property module: ModuleType[source]¶
Returns the module where the name is being referenced.