Releases: henribru/google-ads-stubs
v8.0.0
This release adds support for v14.0.0 of google-ads-python
. Note this new addition to the caveats:
Another big caveat since v8.0.0 of this package is that the attributes and constructor arguments of the protobuf messages are all typed as Any instead of their proper types. This is due to google-ads-python switching from raw protobuf message classes to proto-plus classes. Better types for these might be introduced in the future. GoogleAdsClient.enums is also typed as Any.
This means that unfortunately the stubs won't provide as good a type safety as they used to. The last API version supported by the pre-proto-plus library has been sunset though, so staying with that was no longer an option.
v7.0.0
What's Changed
This is released as a major version because if you're using Mypy you now need to run it with the --namespace-packages
option. This is because the stub packages for google
and google.ads
have been turned into namespace packages to comply with this update to PEP561: python/peps#2083
Full Changelog: v6.0.1...v7.0.0
v6.0.1
v6.0.0
- Use mypy-protobuf v2.4 for generating protobuf stubs (note some backwards incompatibilities introduced in v2.0: https://github.com/dropbox/mypy-protobuf/blob/master/CHANGELOG.md#20)
- Update stubs for compatibility with v.8.2.0 and v.9.0.0 (support for API v6.1 and removal of v3)
- Fix API v4, v5 and v6 missing proper stubs for
enums.py
- Add WaitOperationRequest to stubs for
types.py
- Fix
interceptor.py
accidentally being stubbed with a.py
file in addition to an incomplete.pyi
file - Add a dependency on
grpc-stubs
v5.0.1
v5.0.0
v4.1.0.post1
Add PyPI classifier
v4.1.0
Removes the dependency on https://pypi.org/project/typing/ as it is not needed