Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and ml-evs committed Jan 23, 2024
1 parent 96d5df8 commit 558b3a6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion marda_registry/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}

Expand Down

0 comments on commit 558b3a6

Please sign in to comment.