Add async future note and remove redundant pytest pythonpath #56

Merged
brian merged 2 commits from cursor/readme-async-and-test-path-cleanup into main 2026-07-11 09:28:03 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 9b7b15a67e - Show all commits
+4
View File
@@ -14,6 +14,10 @@ Subclass an adapter in your own repository to add domain-specific methods while
Connection adapters expose `connect()`, `disconnect()`, and `is_connected()`. The latter verifies backend reachability with a cached health probe (default TTL: 1 second). Subclasses may override `health_check_ttl_seconds`. `connect()` is idempotent: calling it while already connected and healthy is a no-op.
## Future direction
The current API is synchronous. Async repository interfaces and adapters may be added in a future release; existing sync usage would remain supported.
## 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.
-1
View File
@@ -39,7 +39,6 @@ build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "--import-mode=importlib"
markers = [
"integration: tests requiring Docker containers (deselect with '-m \"not integration\"')",