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
So yeah came here to use this to convert from protobuf to model and am stumped as there isn't really strong documentation for more complex multi-level models or submessage types. Love that this generates all the models so easily so big thank you!
@mikey0000 Protobuf's JsonFormat implementation is more complex there are many cases that can not be dealt with, you need to modify his code to achieve. So I will delay the implementation of this feature.
The current step of converting
BaseModel
toProtobuf Message
is tedious and has poor performance. e.g:Serialization can be optimized in the following ways:
1.Convert directly to Message:
2.Serialized to dict, then converted to Message by the developer (JSON-like serialization on .dict() pydantic/pydantic#1409 (comment))
The text was updated successfully, but these errors were encountered: