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 search APIs #14

Merged
merged 8 commits into from
Dec 14, 2023
Merged

Add search APIs #14

merged 8 commits into from
Dec 14, 2023

Conversation

jodal
Copy link
Member

@jodal jodal commented Dec 14, 2023

This PR adds new methods for searching for enheter and underenheter by any
parameter supported by the API:

  • Client.search_enhet()
  • Client.search_underenhet()

@codecov-commenter
Copy link

codecov-commenter commented Dec 14, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (029dfd4) 92.95% compared to head (b34d7c1) 95.88%.

Files Patch % Lines
src/brreg/enhetsregisteret/_client.py 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   92.95%   95.88%   +2.92%     
==========================================
  Files           5        8       +3     
  Lines         142      267     +125     
  Branches        8       14       +6     
==========================================
+ Hits          132      256     +124     
- Misses          7        8       +1     
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jodal jodal merged commit b8eba0c into main Dec 14, 2023
5 checks passed
@jodal jodal deleted the search-enhet branch December 14, 2023 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants