Skip to content

Commit

Permalink
#34: Add Missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 22, 2019
1 parent ccfb01e commit 455bfdd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,13 @@ def get_single_result(self):


def get_investigations_for_user(user_id, filters):
query = ISISInvestigationsQuery(user_id)
"""
Given a user id and a list of filters, return a filtered list of all investigations that belong to that user
:param user_id: The id of the user
:param filters: The list of filters
:return: A list of dictionary representations of the investigation entities
"""
query = ISISInvestigationsQuery(user_id)
filter_handler = FilterOrderHandler()
try:
for query_filter in filters:
Expand Down

0 comments on commit 455bfdd

Please sign in to comment.