v9.1.0 (2024-10-08)
Build System
- build: Fix installation issues in modern Python 3.8+ (
88d6390)
Features
- feat: Implement
ReaderQueryHandlerfor entity and count endpoints (60c5254)
Unknown
- Merge pull request #488 from ral-facilities/reader-performance-query
Implement Reader Performance Queries for /datafiles and /datasets (7fba647)
-
Add tests for reader performance queries (
e361e2b) -
Add columns to drop list for SQL dump diff
- The final diff in the CI will still fail because
maindoesn't contain these dropped columns, but the initial diff to check that two runs produce identical data should pass (b7b2b07)
- Upgrade dependencies and ignore vulnerabilities
- As ever, the vulnerabilities that are being ignored are because we cannot upgrade due to being tied to 3.6 (
642ea8b)
- Code cleanup
- Add docstrings
- Remove client_pool kwargs
- Add type hints
- Fix any outstanding linting issues (
a36b607)
- Improve exception handling on reader account login
- If there's an issue when logging in (e.g. due to invalid credentials), the user will now return a 500, not a 403 (
74185f9)
-
Move import and remove whitespace (
c5325b0) -
Do config check before ReaderQueryHandler creation (
dca658f) -
Ensure reader client only initialised once (
7b4d5af) -
Remove unused imports (
11f4a7b) -
Move reader_client into ReaderQueryHandler (
6a5d1e5) -
Add entity type lookup when checking user access (
6eed052) -
Use clients from the pool for reader queries (
b47391a) -
Ensure API works when reader config isn't present in config file (
292cfef) -
Add repr for WHERE filter to make logging them more readable (
350480b) -
Add class to handle queries which should be done by reader account (
c9449f4) -
Add config section for reader performance query option (
720dbf4)