Skip to content
Snippets Groups Projects
Commit 556899bf authored by pka065's avatar pka065
Browse files

Fix style

parent d0823fd5
No related branches found
No related tags found
1 merge request!348GREG-292: search for person via v1-api
Pipeline #159155 passed
...@@ -127,7 +127,11 @@ class PersonSearchViewSet(GenericViewSet): ...@@ -127,7 +127,11 @@ class PersonSearchViewSet(GenericViewSet):
included_persons = [] included_persons = []
for person in persons: for person in persons:
output_data = {"pid": person.id, "first": person.first_name, "last": person.last_name} output_data = {
"pid": person.id,
"first": person.first_name,
"last": person.last_name,
}
if include_birth_date: if include_birth_date:
output_data["date_of_birth"] = person.date_of_birth output_data["date_of_birth"] = person.date_of_birth
hits.append(output_data) hits.append(output_data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment