class documentation

Wrapper for deprecated attributes.

This is intended to be used by _ModuleProxy. Calling _DeprecatedAttribute.get will issue a warning and retrieve the underlying attribute's value.

Method __init__ Initialise a deprecated name wrapper.
Method get Get the underlying attribute value and issue a deprecation warning.
Instance Variable __name__ Undocumented
Instance Variable fqpn Fully qualified Python name for the deprecated attribute
Instance Variable message Deprecation message
Instance Variable module The original module instance containing this attribute
Instance Variable version Version that the attribute was deprecated in
def __init__(self, module, name, version, message): (source)

Initialise a deprecated name wrapper.

def get(self): (source)

Get the underlying attribute value and issue a deprecation warning.

__name__ = (source)

Undocumented

fqpn: str = (source)

Fully qualified Python name for the deprecated attribute

message: str = (source)

Deprecation message

module: module = (source)

The original module instance containing this attribute

Version that the attribute was deprecated in