Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.07 KB

File metadata and controls

29 lines (21 loc) · 1.07 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Added

  • Support writing to KV databases with Kv.set(), Kv.delete(), Kv.sum(), Kv.min(), Kv.max(), Kv.enqueue() and Kv.check(). (#16)

    • These methods are available on Kv itself for one-off operations, and Kv.atomic() can chain these methods to group write operations to apply together in a transaction.
  • Support closing Kv client's session via: (#20)

    • Kv.aclose()
    • async context manager
    • At interpreter exit / garbage collection via Kv.create_finalizer()
    • Automatically when an interactive console exists:
      • Kv objects created by open_kv() from an interactive console/REPL automatically close at exit.
      • The open_kv() function has a finalize option that controls this.