danielgtaylor / danielgtaylor/python-betterproto
Message names with underscores and without result in two dataclasses with the same name
Aperta
compiler-bug
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
If you have a message called, `some_message` and `SomeMessage`, the resulting python has two dataclasses called `SomeMessage`.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the issue with protobuf messages named `some_message` and `SomeMessage`, then inspect the generated Python to find where message names are converted to dataclass names. Done means the generated output no longer defines two dataclasses with the same name, with a regression test covering both message names.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- compilers
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100