usage example fix

This commit is contained in:
AF 2022-11-21 02:18:02 +00:00
parent 3c67459bf1
commit 09bb45e867

View File

@ -26,7 +26,7 @@ Basic functionality
from ptvp35 import DbFactory, KVJson from ptvp35 import DbFactory, KVJson
async def main(): async def main():
async with DbFactory(pathlib.Path('example.db', kvfactory=KVJson())) as connection: async with DbFactory(pathlib.Path('example.db'), kvfactory=KVJson()) as connection:
await _main(connection) await _main(connection)
Different ways to get/set a value: Different ways to get/set a value: