-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
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
Python: Consider using betterproto for models? #291
Comments
Another separate benefit of |
Thanks for the suggestion! Better mypy/typing integration alone seems worth the effort. |
Glad to hear it! It looks like |
(As a datapoint: #300 is an example of a typing bug that |
Looking into this today. |
Opening this as an idea; I'm unsure if it's a good one.
Context:
sigstore-protobuf-specs
usesbetterproto
for its Protobuf codegen, rather than theprotobuf
package. This has a few API-side advantages, namely cleaner model generation and better mypy/typing integration.Given that
in-toto-attestation
andsigstore-protobuf-specs
are mutualistic, it might make sense to unify on a single Protobuf base library. I've suggestedbetterproto
for the reasons above, although I could also potentially convinced thatprotobuf
is the better choice 🙂The text was updated successfully, but these errors were encountered: