Cleanup: remove internal references and scaffolding

This commit is contained in:
Sulkta 2026-05-27 11:15:03 -07:00
parent b4a81e0ab8
commit 812393d030
10 changed files with 72 additions and 141 deletions

View file

@ -1,17 +1,15 @@
"""Persistence abstraction for Invoice objects.
The SDK does not prescribe a database. Consumers implement
:class:`InvoiceStore` against whatever backend suits them SQLAlchemy
(the host app pattern), SQLite (example-studio pattern), Postgres raw
(high-volume pattern), in-memory dict (tests).
:class:`InvoiceStore` against whatever backend suits them SQLAlchemy,
asyncpg, SQLite, in-memory dict.
All methods are async so the same Protocol works cleanly for both
All methods are async so the same Protocol works for both
asyncpg/asyncio-sqlalchemy backends and synchronous backends wrapped
with ``asyncio.to_thread``.
This module also ships :class:`InMemoryStore` a reference implementation
used by the test suite and useful as a drop-in for local development or
ephemeral workflows that don't need durability.
Also ships :class:`InMemoryStore` a reference implementation used by
the test suite and useful for local development.
"""
from __future__ import annotations