ITADN

Public symbols removed in patch version 1.63.2?

#244Closedjakewins 创建于 2024-07-18
J
jakewinscommented
Hi! The public symbols like `Money` were removed in patch version 1.63.2, in [this commit](https://github.com/googleapis/python-api-common-protos/commit/c77c0dc5d29ef780d781a3c5d757736a9ed09674#diff-3661fc4be269dccc6a9b2535809d53cf54a20ce7745bf0200790375c3a0249c3L37), which now breaks type checking.. was this intentional? If so, is there a backwards-compatible-safe way to access these types we should be using instead? If not, is it possible to restore these types again, and/or break the API in a major version instead? #### Environment details - OS type and version: any - Python version: `3.12` - pip version: `n/a` - `googleapis-common-protos` version: `1.63.2` #### Steps to reproduce 1. Write code against 1.63.0 that, for instance, imports `from google.type.money_pb2 import Money` 2. Upgrade to 1.63.2 3. Typecheckers now fail saying there is no `Money` symbol in that module #### Code example ```python # example.py from google.type.money_pb2 import Money ```
关闭于 2024-07-18 1 条评论