danielgtaylor / danielgtaylor/python-betterproto
to_json will miss field.
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione

json = program.to_json()
'{"sdkVersion": "Python 1.0.0", "head": {"usingQRegList": [0, 1, 2], "usingCRegList": [0, 1]}}'
If I use to_dict,I need to use include_default_values. If I don't use include_default_values, it miss field too.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The report names no files or tests; begin at the to_json and to_dict entry points and reproduce the difference around include_default_values. The intended output is not specified, so clarify which fields must be present before defining the regression test and completion criteria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend-api-design
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100