Skip to content

docs(python): prefer Mapping over Dict for abstract type hints#554

Open
0x676e67 wants to merge 2 commits intomainfrom
docs
Open

docs(python): prefer Mapping over Dict for abstract type hints#554
0x676e67 wants to merge 2 commits intomainfrom
docs

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

@0x676e67 0x676e67 commented Apr 7, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates type hints across the wreq package, replacing Dict with Mapping for headers, cookies, and parameters to allow for more flexible input types. A duplicate import of Mapping was identified in python/wreq/wreq.py that should be removed to maintain code cleanliness.

@0x676e67 0x676e67 deployed to MuslLinux April 7, 2026 11:58 — with GitHub Actions Active
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.

1 participant