feat: Add support for memory-only kvstore

This commit is contained in:
Raghotham Murthy 2025-10-02 11:17:41 -07:00
parent 7e48cc48bc
commit d32d8ec94b
3 changed files with 181 additions and 48 deletions

View file

@ -53,7 +53,7 @@ class SqliteKVStoreConfig(CommonConfig):
type: Literal["sqlite"] = KVStoreType.sqlite.value
db_path: str = Field(
default=(RUNTIME_BASE_DIR / "kvstore.db").as_posix(),
description="File path for the sqlite database",
description="File path for the sqlite database. Use ':memory:' for an in-memory database",
)
@classmethod