aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-13 13:35:31 +0300
committerMunyoki Kilyungi2024-03-13 15:34:57 +0300
commitade6c76208bd45c24cdd0e73bf3570e6a2bfa131 (patch)
tree64fec7000aa6d4ba2f9c35239a37c1b5d12d075c
parentef6c708c5684a6ec0047e3e9725d1b2273551f9c (diff)
downloadgn-auth-ade6c76208bd45c24cdd0e73bf3570e6a2bfa131.tar.gz
Delete a debug print query.
Debugging this if necessary should be handled by pdb. * gn_auth/auth/authentication/users.py (fetch_users): Delete print statement. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn_auth/auth/authentication/users.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gn_auth/auth/authentication/users.py b/gn_auth/auth/authentication/users.py
index 7a41a14..cb6a68e 100644
--- a/gn_auth/auth/authentication/users.py
+++ b/gn_auth/auth/authentication/users.py
@@ -117,7 +117,6 @@ def fetch_users(conn: db.DbConnection,
query = "SELECT * FROM users" + (
f" WHERE user_id IN ({params})"
if len(ids) > 0 else "")
- print(query)
cursor.execute(query, tuple(str(the_id) for the_id in ids))
return tuple(User(UUID(row["user_id"]), row["email"], row["name"])
for row in cursor.fetchall())