Format docstring

This commit is contained in:
Erik Johnston 2018-04-12 12:07:09 +01:00
parent 19ceb4851f
commit 415aeefd89

View file

@ -52,8 +52,9 @@ _EventCacheEntry = namedtuple("_EventCacheEntry", ("event", "redacted_event"))
class EventsWorkerStore(SQLBaseStore): class EventsWorkerStore(SQLBaseStore):
def get_received_ts(self, event_id): def get_received_ts(self, event_id):
"""Get received_ts (when it was persisted) for the event. Raises an """Get received_ts (when it was persisted) for the event.
exception for unknown events.
Raises an exception for unknown events.
Args: Args:
event_id (str) event_id (str)