From 091b3d02af3ef3f1ed1c910fe3b10a9efd5c0473 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 10 Sep 2024 10:34:42 +0300 Subject: Run python-black against file. Signed-off-by: Munyoki Kilyungi --- gn3/api/llm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/api') 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/", methods=["GET"]) -- cgit v1.2.3