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 <[email protected]>
This commit is contained in:
Brian Bjarke Jensen
2026-06-30 15:47:04 +02:00
co-authored by Cursor
parent 9e4b1e2c5e
commit c6eed43d70
6 changed files with 168 additions and 11 deletions
+2
View File
@@ -14,6 +14,8 @@ Subclass an adapter in your own repository to add domain-specific methods while
## Optional dependencies
Repository **interfaces** import with the base package. **Adapters** require the matching extra; importing an adapter without its extra raises `ImportError` with install instructions.
Install with the extras you need:
```bash