We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
I tried to find if there is an easy way to convert objects form one format into another. The easiest I found is using dicts as a intermediate format.
Describe the solution you'd like
<PydanticType>.from_proto(msg: <ProtoType>) -> <PydanticType>
<PydanticType>.to_proto() -> <ProtoType>
Describe alternatives you've considered
The dict method: convert proto/pydantic to dict, use that dict with two stars as input.
The text was updated successfully, but these errors were encountered:
@jankatins Are you talking about something similar to this Issue? #11
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
I tried to find if there is an easy way to convert objects form one format into another. The easiest I found is using dicts as a intermediate format.
Describe the solution you'd like
<PydanticType>.from_proto(msg: <ProtoType>) -> <PydanticType>
class method and<PydanticType>.to_proto() -> <ProtoType>
method.Describe alternatives you've considered
The dict method: convert proto/pydantic to dict, use that dict with two stars as input.
The text was updated successfully, but these errors were encountered: