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

Change query_one so that it raises an error on multiple hits #1102

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

davep
Copy link
Contributor

@davep davep commented Nov 3, 2022

As part of this, add a only_one method to DOMQuery.

Addresses #1096.

As part of this, add a only_one method to DOMQuery.

Addresses Textualize#1096.
Copy link
Collaborator

@willmcgugan willmcgugan left a comment

Choose a reason for hiding this comment

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

LGTM

@davep davep merged commit e406df0 into Textualize:main Nov 3, 2022
@davep davep deleted the there-can-only-be-one branch November 3, 2022 15:36
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