From b6124e35a1edc6d5e1bf2f81cb6f211e426fd8a0 Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Mon, 27 Jul 2020 15:03:48 -0700 Subject: [PATCH] Fix missing docstring data --- src/replit/database/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/replit/database/__init__.py b/src/replit/database/__init__.py index c16fac3..270da56 100644 --- a/src/replit/database/__init__.py +++ b/src/replit/database/__init__.py @@ -200,7 +200,7 @@ class ReplitDb(dict): blank means anything. Defaults to "". Returns: - Tuple[str]: [description] + Tuple[str]: The keys found. """ r = requests.get(f"{self.db_url}", params={"prefix": prefix}) r.raise_for_status() @@ -257,7 +257,7 @@ class ReplitDb(dict): with the default. Defaults to False. Returns: - JSONKey: [description] + JSONKey: The initialized JSONKey instance. """ return JSONKey( db=self, @@ -281,7 +281,8 @@ if db_url: db = ReplitDb(db_url) else: print( - "Warning: REPLIT_DB_URL does not exist, are we running on repl.it? Database will not function.", + "Warning: REPLIT_DB_URL does not exist, are we running on repl.it? " + "Database will not function.", file=stderr, ) db = None