Add descriptions

This commit is contained in:
Erik Johnston 2016-02-03 16:22:35 +00:00
parent 33c71c3a4b
commit b84d59c5f0
4 changed files with 5 additions and 1 deletions

View file

@ -564,6 +564,7 @@ class StreamStore(SQLBaseStore):
table="events",
keyvalues={"event_id": event_id},
retcols=("stream_ordering", "topological_ordering"),
desc="get_topological_token_for_event",
).addCallback(lambda row: "t%d-%d" % (
row["topological_ordering"], row["stream_ordering"],)
)