pynenc.client_data_store.sqlite_client_data_store¶
SQLite-based client data store for cross-process testing.
Provides a SQLite-backed implementation that enables true cross-process data sharing for testing process runners.
Key components:
SQLiteClientDataStore: SQLite-backed client data store
… warning:: Designed for testing purposes only. Not recommended for production.
Module Contents¶
Classes¶
Table names for client data store, scoped by app_id. |
|
SQLite-backed client data store for cross-process testing. |
API¶
- class pynenc.client_data_store.sqlite_client_data_store.Tables(app_id: str)[source]¶
Bases:
pynenc.util.sqlite_utils.TableNamesTable names for client data store, scoped by app_id.
Initialization
- class pynenc.client_data_store.sqlite_client_data_store.SQLiteClientDataStore(app: pynenc.app.Pynenc)[source]¶
Bases:
pynenc.client_data_store.base_client_data_store.BaseClientDataStoreSQLite-backed client data store for cross-process testing.
Uses SQLite to allow multiple processes to share cached client data. Implements the three abstract methods from BaseClientDataStore.
… warning:: Designed for testing purposes only. Uses temporary SQLite files.
Initialization
Initialize with app reference.
- Parameters:
app (Pynenc) – The Pynenc application instance
- conf() pynenc.conf.config_client_data_store.ConfigClientDataStoreSQLite¶
Get SQLite-specific configuration.