Nipunn Koorapati

Results 132 comments of Nipunn Koorapati

Here's an example https://github.com/nipunn1313/mypy-protobuf/blob/main/test/generated/testproto/test3_pb2.pyi#L22 `OuterEnum` inherits from `EnumTypeWrapper[OuterEnum.ValueType]` (metaclass required for the scoping gymnastics for `ValueType`). in your example, I think you want this: ``` def foo(pb2_enum_type: EnumTypeWrapper): ```

Another possibility would include a generic ``` T = TypeVar('T') def foo(pb2_enum_type: _EnumTypeWrapper[T]): # some code that works for a variety of different `T` ```

Aha thanks for walking me through the entire process up to where you are now. Let me try to explain what protobuf autogenerates (it's a bit weird). Protobuf autogenerates an...

In python3.10 and up, type annotations aren't executed at runtime. `from __future__ import annotations` gets you this behavior in earlier versions of python3 (3.7 and up I think) I will...

Hello. Thanks for the good work on node-gyp. I wanted the check in on this. I was finding that the rush package manager's `rush deploy` command (reasonably) does not like...

> When you want a pull request to be merged, _**please give it a positive review**_ as @DeeDeeG has done at the top right of this page. Every checkmark ✔️...

my understanding is that for proto3, scalar non-repeated fields are not actually optional on the wire, nor on the generated class. IE - if you construct it with None, my...

seems reasonable! Would take an improvement as a PR if you can get it working.

If the VSCode experience isn't great - would be happy to consider improvements to that experience. Hopefully documenting the existing experience can go a long way.

Hello - I am waiting for a Sentry team member to take a look.