Mercurial
view asyncio_threads/database/main.py @ 50:983769fba767
Updated so that fzf works out of the box.
| author | June Park <me@mrjunejune.com> |
|---|---|
| date | Tue, 16 Dec 2025 21:01:45 -0500 |
| parents | 46daba6e3cf4 |
| children |
line wrap: on
line source
class Database: def __init__(self): self.db = {} self.state = 'idle' def set(self, key, value): self.db[key] = value def get(self, key): return self.db[key] def unset(self, key): del self.db[key]