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 <[email protected]>
19 lines
446 B
Python
19 lines
446 B
Python
"""python_repositories: Unified repository interfaces and adapters."""
|
|
|
|
from .adapters import MinioAdapter, RedisAdapter
|
|
from .interfaces import (
|
|
ConnectionAwareInterface,
|
|
ContextAwareInterface,
|
|
JsonRepositoryInterface,
|
|
ObjectRepositoryInterface,
|
|
)
|
|
|
|
__all__ = [
|
|
"ConnectionAwareInterface",
|
|
"ContextAwareInterface",
|
|
"JsonRepositoryInterface",
|
|
"ObjectRepositoryInterface",
|
|
"RedisAdapter",
|
|
"MinioAdapter",
|
|
]
|