Skip to content

[boltons] Type first and one results - #17035

Open
Lushiyao5 wants to merge 2 commits into
python:mainfrom
Lushiyao5:fix/boltons-first-one-return-types-20261205
Open

Lushiyao5 wants to merge 2 commits into
python:mainfrom
Lushiyao5:fix/boltons-first-one-return-types-20261205

Conversation

@Lushiyao5

Copy link
Copy Markdown
Contributor

Preserve the iterable item and fallback types in boltons.iterutils.first and one, including the predicate's input type.

Agent used: OpenAI Codex.

@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
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