reviewbot.deprecation¶
Internal support for handling deprecations in Review Bot.
The version-specific objects in this module are not considered stable between releases, and may be removed at any point. The base objects are considered stable.
New in version 3.0.
Module Attributes
An alias for the next release of Review Bot where features would be removed. |
Exceptions
Base class for a Review Bot deprecation warning. |
|
An alias for the next release of Review Bot where features would be removed. |
|
Deprecations for features removed in Review Bot 6.0. |
- exception BaseRemovedInReviewBotVersionWarning[source]¶
Bases:
BaseRemovedInWarningBase class for a Review Bot deprecation warning.
All version-specific deprecation warnings inherit from this, allowing callers to check for Review Bot deprecations without being tied to a specific version.
- product: Final[str] = 'Review Bot'¶
The name of the product with the deprecated functionality.
- __annotations__ = {'product': 'Final[str]', 'version': 'str', 'version_required': 'bool'}¶
- final exception RemovedInReviewBot60Warning[source]¶
Bases:
BaseRemovedInReviewBotVersionWarningDeprecations for features removed in Review Bot 6.0.
Note that this class will itself be removed in Review Bot 6.0. If you need to check against Review Bot deprecation warnings, please see
BaseRemovedInReviewBotVersionWarning. Alternatively, you can use the alias for this class,RemovedInNextReviewBotVersionWarning.- __annotations__ = {'product': 'Final[str]', 'version': 'str', 'version_required': 'bool'}¶
- __final__ = True¶