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
{{ message }}
Repository navigation
Protobuf FromString argument 1 incompatible with supertype Message #5333
When using types-protobuf 0.1.9 FromString gives error error: Argument 1 of "FromString" is incompatible with supertype "Message"; supertype defines the argument type as "ByteString"
Is this issue still relevant? types-protobuf is now generated against 4.21.8 using mypy-protobuf==3.5.0, and as OP mentioned, this issue seems to have been fixed upstream in 1.23.
I'll close this as solved by #5753 or a previous commit.
Feel free to open a new issue if you still have issues with subclassing of google.protobuf.message.Message.
Activity
Avasam commentedon Nov 28, 2023
Is this issue still relevant?
types-protobufis now generated against4.21.8usingmypy-protobuf==3.5.0, and as OP mentioned, this issue seems to have been fixed upstream in1.23.Avasam commentedon Dec 1, 2023
I'll close this as solved by #5753 or a previous commit.
Feel free to open a new issue if you still have issues with subclassing of
google.protobuf.message.Message.