summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-05-15 09:52:15 +0100
committerGitHub <noreply@github.com>2019-05-15 09:52:15 +0100
commit52ddc6c0ed40dfc15e8e4abd383a2a5fc12fcfec (patch)
treecba7f2fb56181053cf2f9bbce48250d429d2ff98
parentNewsfile (diff)
downloadsynapse-52ddc6c0ed40dfc15e8e4abd383a2a5fc12fcfec.tar.xz
Update docstring with correct type
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-rw-r--r--synapse/storage/events_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index 5c40056d11..adc6cf26b5 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -171,7 +171,7 @@ class EventsWorkerStore(SQLBaseStore):
             allow_rejected (bool): If True return rejected events.
 
         Returns:
-            Deferred[list]: List of events fetched from the database. The
+            Deferred[list[EventBase]]: List of events fetched from the database. The
             events are in the same order as `event_ids` arg.
 
             Note that the returned list may be smaller than the list of event