marshmallow-code / marshmallow-code/webargs
Improve Falcon parser
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 167
- Merge medio
- 17h 8m
- PR unite (30g)
- 4
Descrizione
Let me first say that it was a privilege to meet @sirosen @ EuroPython '26.
As I also replied on LinkedIn to @InessaPawson, the little BoF session on AI impact (that we participated in) was definitely one of the conference's main highlights for me.
IIRC I offered to help to improve Falcon "parser", but now that I've opened the code, it is not as trivial as I thought.
Main things that I'm unsure about (in progress):
- Do we want to DRY URL-encoded forms with Falcon's media handling? Do we need to keep the
parse_form_body(...)helper for backwards compatibility, or is it considered private? Do we want to silence Unicode errors as it does? - How to load media/request body in the async case? Is it properly supported for AIOHTTP?
- Add a recipe how to integrate this in middleware (in possible).
I will create a Draft PR addressing some of the mundane improvements, the rest needs discussion (since I don't have much experience with webargs).
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo il codice del parser Falcon e la funzione helper parse_form_body(...). Esamina le questioni aperte relative ai moduli URL-encoded, alla gestione dei media, agli errori Unicode, ai body delle richieste AIOHTTP async e all'integrazione del middleware prima di scegliere un ambito circoscritto. Il lavoro è completo quando il comportamento previsto e le aspettative di compatibilità sono stati concordati e i miglioramenti selezionati sono coperti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100