From 558b3a6e072edceb85aaeb036a912ed2311148a3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:40:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- marda_registry/app.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/marda_registry/app.py b/marda_registry/app.py index a16f7e3..3465e40 100644 --- a/marda_registry/app.py +++ b/marda_registry/app.py @@ -130,7 +130,15 @@ def search_file_types(query: str): @api.get("/extractors", response_model=ExtractorEntryResponse) def get_extractors(): return { - "data": list(db.extractors.find({}, projection={"_id": 0}, sort=[("id", 1),])), + "data": list( + db.extractors.find( + {}, + projection={"_id": 0}, + sort=[ + ("id", 1), + ], + ) + ), "meta": _get_info(), }