googleapis / googleapis/synthtool
Python: Document how to deprecate methods/classes for libraries in CONTRIBUTING
Open
type: docs
type: process
- Dominant language
- Python
- Stars
- 108
- Forks
- 102
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 1
Description
This should align with the style we want to use going forward for generated clients:
- Raise `DeprecationWarning`
- Message text follows https://google.aip.dev/192#deprecations
- Use `deprecated` sphinx directive https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-deprecated
Contributor guide
Assessment
This issue has not been assessed yet.