From ea8301205e908c40a52790557f885181f94e795d Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Wed, 5 Aug 2020 15:58:16 -0700 Subject: [PATCH] Don't unasync JSONKey internal methods because they are awaited --- src/replit/database/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/replit/database/__init__.py b/src/replit/database/__init__.py index 736247f..69174f4 100644 --- a/src/replit/database/__init__.py +++ b/src/replit/database/__init__.py @@ -305,8 +305,6 @@ class JSONKey(AsyncJSONKey): get = _async2sync(AsyncJSONKey.get) set = _async2sync(AsyncJSONKey.set) - _error = _async2sync(AsyncJSONKey._error) - _should_discard_prompt = _async2sync(AsyncJSONKey._should_discard_prompt) class ReplitDb(AsyncReplitDb):