DeprecationModel#
- class DeprecationModel(deprecated_version=None, deprecated_date=None, deprecated_by=None, deprecated_reason=None, *args, **kwargs)[source]#
Bases:
object
An abstract representation of an object which has the deprecated information.
- Parameters:
deprecated_version – (
deprecated_version
) Deprecated after the version.deprecated_date – (
deprecated_date
) Deprecated after the date.deprecated_by – (
deprecated_by
) Represents the deprecation name of the attribute.deprecated_reason – (
deprecated_reason
) Represents the reason for the deprecation.
- property deprecated_by#
Represents the deprecation name of the attribute.
- Type:
str
- property deprecated_date#
Deprecated after the date.
- Type:
str
- property deprecated_reason#
Represents the reason for the deprecation.
- Type:
str
- property deprecated_version#
Deprecated after the version.
- Type:
str