Skip to content

[protobuf] Add missing encoder and sizer exports#15422

Open
emmanuel-ferdman wants to merge 1 commit intopython:mainfrom
emmanuel-ferdman:protobuf-encoder-exports
Open

[protobuf] Add missing encoder and sizer exports#15422
emmanuel-ferdman wants to merge 1 commit intopython:mainfrom
emmanuel-ferdman:protobuf-encoder-exports

Conversation

@emmanuel-ferdman
Copy link
Contributor

PR Summary

The encoder module of protobuf uses chained assignments like Int32Sizer = Int64Sizer = EnumSizer = ... but the stub only documented the first variable on each line. This PR adds the rest of the missing sizers and encoders.

Fixes #15149.

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Several module members missing from stubs/protobuf/google/protobuf/internal/encoder.pyi

1 participant