Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support repeated extensions #248

Merged
merged 1 commit into from
Jul 16, 2021
Merged

Support repeated extensions #248

merged 1 commit into from
Jul 16, 2021

Conversation

nipunn1313
Copy link
Owner

Fixes #244

Depends on
python/typeshed#5788
and gains some additional benefit from
python/typeshed#5787

@nipunn1313
Copy link
Owner Author

tests will not pass until dependency lands first

@nipunn1313 nipunn1313 force-pushed the repeated_extension branch from f51572b to b513e94 Compare July 16, 2021 20:00
Generate RepeatedScalarFieldContainer and
RepeatedCompositeFieldContainer for those fields.
@nipunn1313 nipunn1313 force-pushed the repeated_extension branch from b513e94 to 802602e Compare July 16, 2021 20:01
@nipunn1313
Copy link
Owner Author

Here's a relevant follow up for you @EPronovost. I'll probably land it soon, but would still appreciate eyes on it in case you catch something after the fact.

Interestingly, this diff only adds tests to confirm the fix. The actual fix happened in #247 - which was a refactor that affected the extension generation. It relied on python/typeshed#5788 which landed and got into types-protobuf 3.17.3

@nipunn1313 nipunn1313 merged commit f6d8aca into master Jul 16, 2021
@nipunn1313 nipunn1313 deleted the repeated_extension branch July 16, 2021 20:15
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.

proto3 Extensions defined at module level produce bad mypy ExtensionDict types
1 participant