Development
Deprecation warning
Before removing attributes/methods, consider adding deprecation warnings instead. The typing_extensions package provides a handy decorator to add deprecation warnings.
from typing_extensions import deprecated
@property
@deprecated("Use core instead")
def rate(self):
pass
@deprecated("Deprecated in favor of the new branch protection")
def get_protected_branch(self):
pass