aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py2/twisted/spread/interfaces.py
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2023-11-26 18:16:14 +0300
committershmel1k <shmel1k@ydb.tech>2023-11-26 18:43:30 +0300
commitb8cf9e88f4c5c64d9406af533d8948deb050d695 (patch)
tree218eb61fb3c3b96ec08b4d8cdfef383104a87d63 /contrib/python/Twisted/py2/twisted/spread/interfaces.py
parent523f645a83a0ec97a0332dbc3863bb354c92a328 (diff)
downloadydb-b8cf9e88f4c5c64d9406af533d8948deb050d695.tar.gz
add kikimr_configure
Diffstat (limited to 'contrib/python/Twisted/py2/twisted/spread/interfaces.py')
-rw-r--r--contrib/python/Twisted/py2/twisted/spread/interfaces.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/python/Twisted/py2/twisted/spread/interfaces.py b/contrib/python/Twisted/py2/twisted/spread/interfaces.py
new file mode 100644
index 0000000000..a7db3ff7c5
--- /dev/null
+++ b/contrib/python/Twisted/py2/twisted/spread/interfaces.py
@@ -0,0 +1,31 @@
+# Copyright (c) Twisted Matrix Laboratories.
+# See LICENSE for details.
+
+"""
+Twisted Spread Interfaces.
+"""
+
+from zope.interface import Interface
+
+
+class IJellyable(Interface):
+ def jellyFor(jellier):
+ """
+ Jelly myself for jellier.
+ """
+
+
+
+class IUnjellyable(Interface):
+ def unjellyFor(jellier, jellyList):
+ """
+ Unjelly myself for the jellier.
+
+ @param jellier: A stateful object which exists for the lifetime of a
+ single call to L{unjelly}.
+
+ @param jellyList: The C{list} which represents the jellied state of the
+ object to be unjellied.
+
+ @return: The object which results from unjellying.
+ """