From 7d6f45be6c3c7ef7043939b3b3dde47e43e47cbb Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Wed, 5 Aug 2020 15:51:35 -0700 Subject: [PATCH] Pass async db to async to synced JSONKey which expects it --- src/replit/database/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replit/database/__init__.py b/src/replit/database/__init__.py index 36f1cbd..736247f 100644 --- a/src/replit/database/__init__.py +++ b/src/replit/database/__init__.py @@ -365,7 +365,7 @@ class ReplitDb(AsyncReplitDb): JSONKey: The initialized JSONKey instance. """ return JSONKey( - db=self, + db=super(), key=key, dtype=dtype, get_default=get_default,