You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rbtz-openai
changed the title
error: Duplicate argument "self" in function definitionerror: Duplicate argument "self" in function definitionSep 8, 2024
Good to hear from you! It's probably because it's a reserved keyword. We should be able to work around it. We can take a look at what the underlying constructor chooses to do in the google generated code and match typing to that.
I'm using
mypy-protobuf
to generate types for the envoy protos and getting the following error:This is due to the original protobuf having an oneof field with a
self
as a value:A snippet from the generated pyi:
I'm using the mypy-protobuf from the buf.build sdk:
The text was updated successfully, but these errors were encountered: