From 328211eaca1247cd6b33a2c0a54642f87866d85b Mon Sep 17 00:00:00 2001 From: "Juan E. D" Date: Tue, 18 May 2021 23:58:21 -0300 Subject: [PATCH] Typo in upsert example (#244) Remove extra `[` --- docs/python-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/python-api.rst b/docs/python-api.rst index 11b1f0c..ad7b394 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -647,7 +647,7 @@ For example, given the dogs database you could upsert the record for Cleo like s .. code-block:: python - db["dogs"].upsert([{ + db["dogs"].upsert({ "id": 1, "name": "Cleo", "twitter": "cleopaws",