add flake8

This commit is contained in:
2021-06-15 18:08:57 +02:00
parent 375f618e0d
commit b0950e58cc
8 changed files with 60 additions and 22 deletions

View File

@ -46,8 +46,8 @@ def handle_completion_request(model, key):
query = query.filter(model.name.startswith(request.args.get("search")))
results = query.order_by(model.name) \
.limit(10) \
.all()
.limit(10) \
.all()
api_results = models_to_list(results)
response_data = {}