aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-10 10:34:42 +0300
committerBonfaceKilz2024-09-11 10:30:57 +0300
commit091b3d02af3ef3f1ed1c910fe3b10a9efd5c0473 (patch)
treef91023dab297dc0cfc08342fed76222019a7cee7 /gn3/api
parentbceb5ce98c14dc64ef3980caf23f975278f63d50 (diff)
downloadgenenetwork3-091b3d02af3ef3f1ed1c910fe3b10a9efd5c0473.tar.gz
Run python-black against file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/llm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/llm.py b/gn3/api/llm.py
index 90d5e1f..f6642c9 100644
--- a/gn3/api/llm.py
+++ b/gn3/api/llm.py
@@ -100,8 +100,8 @@ def get_user_search_records():
(str(token.user.user_id),))
results = [dict(item) for item in cursor.fetchall()]
return jsonify(sorted(results, reverse=True,
- key=lambda x: datetime.strptime(x.get("created_at"),
- '%Y-%m-%d %H:%M:%S')))
+ key=lambda x: datetime.strptime(x.get("created_at"),
+ '%Y-%m-%d %H:%M:%S')))
@gnqa.route("/search/record/<task_id>", methods=["GET"])