Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a6be594
docs(specs): add async DB connector protocol design spec for PLT-1453
kurodo3[bot] May 23, 2026
e48eef7
docs(specs): defer SpiralDB async to PLT-1456; narrow PLT-1453 scope
kurodo3[bot] May 23, 2026
05cfd72
docs(plans): add async DB connector implementation plan (PLT-1453)
kurodo3[bot] May 26, 2026
f105777
feat(protocols): add AsyncDBConnectorProtocol (PLT-1453)
kurodo3[bot] May 26, 2026
ac37073
refactor(protocols): fix AsyncDBConnectorProtocol quality issues (PLT…
kurodo3[bot] May 26, 2026
b0105a9
feat(postgresql): add async lifecycle methods (PLT-1453)
kurodo3[bot] May 26, 2026
e08cf2a
refactor(postgresql): document async lifecycle; fix pytest asyncio co…
kurodo3[bot] May 26, 2026
eacbe2e
feat(postgresql): add async schema introspection methods (PLT-1453)
kurodo3[bot] May 26, 2026
37060cc
refactor(postgresql): improve async schema test coverage and docstrin…
kurodo3[bot] May 26, 2026
0546ae2
feat(postgresql): add async_iter_batches (PLT-1453)
kurodo3[bot] May 26, 2026
937cea8
refactor(postgresql): fix async_iter_batches comment; improve test cl…
kurodo3[bot] May 26, 2026
b08fd3d
feat(sqlite): add async methods via asyncio.to_thread() (PLT-1453)
kurodo3[bot] May 26, 2026
68ce5db
refactor(sqlite): enrich async method docstrings (PLT-1453)
kurodo3[bot] May 26, 2026
c6db94a
test(postgresql): add async integration tests (PLT-1453)
kurodo3[bot] May 26, 2026
6ae4d97
refactor(test): remove unused asyncio import in pg integration tests …
kurodo3[bot] May 26, 2026
182a3c8
fix(test): compute sync results before entering async context manager
kurodo3[bot] May 26, 2026
3e8445a
docs(spec): clarify async_iter_batches materialises full result befor…
kurodo3[bot] May 26, 2026
c0daf87
fix(postgresql): avoid blocking event loop in async_close and async_i…
kurodo3[bot] May 26, 2026
9d3ddbc
refactor(connectors): address PR review — consolidate SQL/query logic…
kurodo3[bot] May 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts = -v
asyncio_default_fixture_loop_scope = function

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`asyncio_default_fixture_loop_scope = function` tells pytest-asyncio to create a fresh event loop for each test function. Without it, pytest-asyncio ≥ 0.23 emits a `DeprecationWarning` and will error in a future release. The `function` scope is the strictest setting — it prevents any async state from leaking between tests.

pythonpath = src
markers =
postgres: mark test as requiring a live PostgreSQL instance
Expand Down
6 changes: 6 additions & 0 deletions src/orcapod/databases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
# PostgreSQLConnector -- PLT-1075 (psycopg3) ✓
# SpiralDBConnector -- PLT-1074
#
# Connectors that also implement AsyncDBConnectorProtocol:
#
# PostgreSQLConnector -- native psycopg3 async (PLT-1453) ✓
# SQLiteConnector -- asyncio.to_thread() wrappers (PLT-1453) ✓
# SpiralDBConnector -- deferred to PLT-1456
#
# ArrowDatabaseProtocol backends (existing, not connector-based):
#
# DeltaTableDatabase -- Delta Lake (deltalake package)
Expand Down
Loading
Loading