Log new database creation, bootstrap like a transaction.

This commit is contained in:
LeoVasanko committed 2026-06-20 18:15:08 +00:00
1 parent 753b7eba86
commit 55fa475a13
4 files changed
+81 -7

No files matched your search

+2
View File
@@ -177,6 +177,8 @@ async def test_logfmt_class_injection(tmp_path, format_config, caplog):
@kanta.logfmt
class UserLogFmt(LogFmt):
def resolve(self, value: str, path: str) -> str | None:
if not isinstance(value, str):
return None
return self.current_state.get("users", {}).get(value, {}).get("name")
await kanta.open()