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

Add datastore_multisearch_counts action #145

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

jrdh
Copy link
Member

@jrdh jrdh commented Nov 29, 2023

This new action provides an efficient way to count how many records hit a query from each resource, returning a dict of resource IDs -> counts.

Added to help solve NaturalHistoryMuseum/ckanext-query-dois#46.

This new action provides an efficient way to count how many records hit a query from each resource, returning a dict of resource IDs -> counts.
@coveralls
Copy link

Pull Request Test Coverage Report for Build #458

  • 8 of 31 (25.81%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 69.112%

Changes Missing Coverage Covered Lines Changed/Added Lines %
ckanext/versioned_datastore/logic/auth.py 2 3 66.67%
ckanext/versioned_datastore/logic/actions/multisearch.py 3 25 12.0%
Totals Coverage Status
Change from base Build #456: -0.3%
Covered Lines: 2864
Relevant Lines: 4144

💛 - Coveralls

@jrdh jrdh merged commit 789bb3b into dev Nov 29, 2023
1 of 3 checks passed
@jrdh jrdh deleted the josh/add_datastore_multisearch_counts_action branch November 29, 2023 11:09
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