Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

feat(repo): abstract method filter_collection_by_kwargs() #159

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

peterschutt
Copy link
Member

Method filters the collection to items that have attributes with values equal to kwargs passed to method.

Has AND semantics, so multiple kwargs means items must have equal values for all to remain in the collection.

Raises RepositoryException if an incorrect attribute is given.

Closes #158

Method filters the collection to items that have attributes with values
equal to kwargs passed to method.

Has AND semantics, so multiple kwargs means items must have equal values
for all to remain in the collection.

Raises RepositoryException if an incorrect attribute is given.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@peterschutt peterschutt merged commit 15bf7a8 into main Dec 8, 2022
@peterschutt peterschutt deleted the repo-filter-select-by-kwargs-abstract-method branch December 8, 2022 01:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(repo): add abstract method to filter collection by kwargs
1 participant