Skip to content

docs(python): add FormData class to Python API#40529

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:python-form-data
Apr 30, 2026
Merged

docs(python): add FormData class to Python API#40529
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:python-form-data

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Apr 30, 2026

Summary

  • Adds Python to the FormData class langs and adds Python set/append examples.
  • Extends python-fetch-option-form and python-fetch-option-multipart to accept [FormData].

Enables the Python bindings to support repeated form keys (microsoft/playwright-python#2834) and multiple files per multipart field (microsoft/playwright-python#2784).

Adds the FormData class (already available in java/csharp) to the Python
language bindings so it can be used for `form` (with repeated keys) and
`multipart` (with multiple files per field) parameters of APIRequestContext.

Fixes: microsoft/playwright-python#2834
Fixes: microsoft/playwright-python#2784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants