danielgtaylor / danielgtaylor/python-betterproto
Support for AIP 203 annotations?
- Lenguaje dominante
- Python
- Estrellas
- 1.8k
- Forks
- 234
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hi there! Thanks for creating and maintaining this package -- I'm currently looking into integrating protobuf messages into one of the Python projects I work on, and this looks like a really nice interface.
As part of designing the messages I'm planning on using, I'd like to be able to use [AIP 203-style](https://google.aip.dev/203) annotations to signal that particular fields are required on the wire. I can see these annotations show up in other codegen backends (like Go and Java), but they don't seem to have any effect on betterproto's generation.
Full context: https://github.com/sigstore/protobuf-specs/pull/41
Is this something that's currently possible with `betterproto`? If not, is there interest in adding support for it? If so, it's something I could take a stab at 🙂
Thanks in advance!
Guía de contribución
Línea de trabajo
Comienza leyendo la especificación AIP 203 y el pull request de protobuf-specs enlazado; después, sigue la ruta de generación de protobuf de betterproto para las anotaciones de campos. En el issue no se nombran archivos ni pruebas; se debe considerar terminado cuando las anotaciones de AIP 203 se reconozcan durante la generación y su comportamiento previsto para campos obligatorios esté cubierto mediante verificación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100