Brian Bjarke Jensen and Cursor
5e32787b90
Add config and client injection with test reorganization.
...
Code Quality Pipeline / code-quality (pull_request) Successful in 52s
PR Title Check / check-title (pull_request) Successful in 6s
Test Python Package / test (pull_request) Successful in 1m3s
Introduce typed config objects, optional adapter injection, and .env loading to simplify testing while preserving env-based defaults for production usage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 21:34:14 +02:00
Brian Bjarke Jensen and Cursor
7b950e0d93
Extract shared connection lifecycle into ConnectionAwareAdapter.
...
Move duplicated context-manager, health-check cache, and connection guards from Redis and Minio adapters into an internal base class.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 16:09:25 +02:00
Brian Bjarke Jensen and Cursor
5149299c1b
Strengthen is_connected with cached health probes.
...
Code Quality Pipeline / code-quality (pull_request) Failing after 35s
PR Title Check / check-title (pull_request) Successful in 6s
Test Python Package / test (pull_request) Successful in 1m9s
Convert is_connected to a method that verifies backend liveness via TTL-cached ping (Redis) or bucket_exists (MinIO), with cache invalidation on connect/disconnect.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-05 15:28:25 +02:00
Brian Bjarke Jensen and Cursor
c6eed43d70
Fix optional dependency handling for Redis and MinIO adapters.
...
Lazy-load adapters at package boundaries and fail fast with install hints when extras are missing.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 15:47:04 +02:00
Brian Bjarke Jensen and Cursor
497533f0e3
Fix mypy context manager typing for adapter subclasses.
...
Code Quality Pipeline / code-quality (pull_request) Failing after 26s
Test Python Package / test (pull_request) Successful in 1m7s
Return Self from __enter__ so with-blocks preserve subclass types, and align mypy python_version with the 3.12 runtime target.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 19:42:15 +02:00
Brian Bjarke Jensen and Cursor
e98fd3b90d
Add public repository interfaces and subclassable adapter CRUD API.
...
Code Quality Pipeline / code-quality (pull_request) Failing after 19s
Test Python Package / test (pull_request) Successful in 50s
Define split JSON and object repository ABCs, promote adapter methods to public CRUD, add example domain repositories, modernize interface stubs, and make the package installable for tests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 10:58:33 +02:00
Brian Bjarke Jensen
e5c4025aeb
added graceful handling of missing optional packages
Code Quality Pipeline / code-quality (pull_request) Successful in 26s
Test Python Package / test (pull_request) Successful in 34s
2025-09-17 12:36:22 +02:00
Brian Bjarke Jensen
396cf83a05
code quality fixes
Code Quality Pipeline / code-quality (pull_request) Successful in 30s
Test Python Package / test (pull_request) Successful in 1m12s
2025-09-17 12:14:37 +02:00
Brian Bjarke Jensen
538b26b62f
mypy fixed
2025-09-17 12:04:45 +02:00
Brian Bjarke Jensen
ee6acc6791
moved import of optional packages into classes
Code Quality Pipeline / code-quality (pull_request) Failing after 1m53s
Test Python Package / test (pull_request) Failing after 22s
2025-09-17 11:44:47 +02:00
Brian Bjarke Jensen
524bd0f06b
fixed connection error handling
2025-09-14 19:52:39 +02:00
Brian Bjarke Jensen
5d7afe7a6c
ruff format corrections
Code Quality Pipeline / code-quality (pull_request) Successful in 16s
Test Python Package / test (pull_request) Failing after 9s
2025-09-14 16:17:04 +02:00
Brian Bjarke Jensen
59a943e39a
added redis types stub and fixed return type
Test Python Package / test (pull_request) Failing after 9s
Code Quality Pipeline / code-quality (pull_request) Failing after 13s
2025-09-14 16:16:01 +02:00
Brian Bjarke Jensen
1abcae4050
added redis adapter
Code Quality Pipeline / code-quality (pull_request) Failing after 42s
Test Python Package / test (pull_request) Failing after 1s
2025-09-14 15:45:19 +02:00