Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use more_itertools.first_true() #17014

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

miketheman
Copy link
Member

Instead of relying first to provide the necessary iteration algorithm, use first_true() from more-itertools that we already ship.

Refs: https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.first_true

Instead of relying `first` to provide the necessary iteration algorithm,
use `first_true()` from `more-itertools` that we already ship.

Refs: https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.first_true

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman added the dependencies Pull requests that update a dependency file label Nov 1, 2024
@miketheman miketheman requested a review from a team as a code owner November 1, 2024 14:30
@miketheman miketheman merged commit 2d38cd2 into pypi:main Nov 1, 2024
20 checks passed
@miketheman miketheman deleted the miketheman/replace-first branch November 1, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants