forked from kompetenzinventar/ki-backend
add flake8
This commit is contained in:
@ -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 = {}
|
||||
|
Reference in New Issue
Block a user