This commit is contained in:
2026-08-11 01:34:39 +00:00
parent 33a8c07043
commit 0b8c1d2da9
2 changed files with 4 additions and 4 deletions
+3 -1
View File
@@ -85,7 +85,9 @@ async def main() -> None:
data.total = 99
raise ValueError("simulated failure")
except ValueError:
print(f"\nReset rolled back: {data.total=} (we can always read data without tx)\n")
print(
f"\nReset rolled back: {data.total=} (we can always read data without tx)\n"
)
with kanta.transaction(action="delete", user="userid002") as data:
del data.users["userid001"]