marshmallow-code / marshmallow-code/webargs

Improve Falcon parser

Open
#1,079 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.4k
Forks
167
Avg merge
17h 8m
Merged PRs (30d)
4

Description

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).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Falcon parser code and the parse_form_body(...) helper. Review the open questions around URL-encoded forms, media handling, Unicode errors, async AIOHTTP request bodies, and middleware integration before choosing a focused scope. Done means the intended behavior and compatibility expectations are agreed and the selected improvements are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.