summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-07-18 11:52:14 +0100
committerErik Johnston <erik@matrix.org>2024-07-18 11:52:14 +0100
commitd689204aa6714fa12720b0ed3f5ea1c7f4baaf87 (patch)
tree2ca25044bb6680e53053597ebb5b33a3b34b2b78
parentNewsfile (diff)
downloadsynapse-d689204aa6714fa12720b0ed3f5ea1c7f4baaf87.tar.xz
Add docstring
-rw-r--r--synapse/types/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/types/__init__.py b/synapse/types/__init__.py
index 23ac1842f8..53401ade84 100644
--- a/synapse/types/__init__.py
+++ b/synapse/types/__init__.py
@@ -1145,6 +1145,12 @@ class SlidingSyncStreamToken:
 
     This then looks something like:
         5/s2633508_17_338_6732159_1082514_541479_274711_265584_1_379
+
+    Attributes:
+        stream_token: Token representing the position of all the standard
+            streams.
+        connection_token: Token used by sliding sync to track updates to any
+            per-connection state stored by Synapse.
     """
 
     stream_token: StreamToken