From 09bb45e8670bd944d19790d5b077501a12af45b2 Mon Sep 17 00:00:00 2001 From: timofey Date: Mon, 21 Nov 2022 02:18:02 +0000 Subject: [PATCH] usage example fix --- docs/source/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 8aeee1e..4aa87ae 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -26,7 +26,7 @@ Basic functionality from ptvp35 import DbFactory, KVJson 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) Different ways to get/set a value: