Skip to content
Snippets Groups Projects
Commit b62da463 authored by Erik Johnston's avatar Erik Johnston
Browse files

docstring

parent 3cf9948b
No related merge requests found
......@@ -82,6 +82,16 @@ class SearchHandler(BaseHandler):
@defer.inlineCallbacks
def search(self, user, content):
"""Performs a full text search for a user.
Args:
user (UserID)
content (dict): Search parameters
Returns:
dict to be returned to the client with results of search
"""
try:
search_term = content["search_categories"]["room_events"]["search_term"]
keys = content["search_categories"]["room_events"].get("keys", [
......
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