0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 20:43:51 +01:00

Update docstrings to make sense

This commit is contained in:
Erik Johnston 2018-07-23 15:05:40 +01:00
parent 726a0b1e64
commit 4797ed000e

View file

@ -55,13 +55,16 @@ class EventContext(object):
_fetching_state_deferred (Deferred|None): Resolves when *_state_ids have _fetching_state_deferred (Deferred|None): Resolves when *_state_ids have
been calculated. None if we haven't started calculating yet been calculated. None if we haven't started calculating yet
_prev_state_id (str|None): If set then the event associated with the _event_type (str): The type of the event the context is associated with.
context overrode the _prev_state_id Only set when state has not been fetched yet.
_event_type (str): The type of the event the context is associated with
_event_state_key (str|None): The state_key of the event the context is _event_state_key (str|None): The state_key of the event the context is
associated with associated with. Only set when state has not been fetched yet.
_prev_state_id (str|None): If the event associated with the context is
a state event, then `_prev_state_id` is the event_id of the state
that was replaced.
Only set when state has not been fetched yet.
""" """
__slots__ = [ __slots__ = [