コード例 #1
0
 def __init__(self, *classes):
     """
     :param *classes: The type or types of the objects we expect to
         (de)serialize.
     """
     Argument.__init__(self)
     self._expected_classes = classes
コード例 #2
0
ファイル: _protocol.py プロジェクト: ALSEDLAH/flocker
 def __init__(self, *classes):
     """
     :param *classes: The type or types of the objects we expect to
         (de)serialize.
     """
     Argument.__init__(self)
     self._expected_classes = classes
コード例 #3
0
ファイル: _protocol.py プロジェクト: Elenw/flocker
 def __init__(self, *classes):
     """
     :param *classes: The type or types of the objects we expect to
         (de)serialize. Only immutable types should be used if encoding
         caching will be enabled.
     """
     Argument.__init__(self)
     self._expected_classes = classes
コード例 #4
0
 def __init__(self, *classes):
     """
     :param *classes: The type or types of the objects we expect to
         (de)serialize. Only immutable types should be used if encoding
         caching will be enabled.
     """
     Argument.__init__(self)
     self._expected_classes = classes
コード例 #5
0
ファイル: __init__.py プロジェクト: habnabit/txampproducer
 def __init__(self, optional=False, maxStringPartSize=8192):
     Argument.__init__(self, optional)
     self.maxStringPartSize = maxStringPartSize
コード例 #6
0
ファイル: arguments.py プロジェクト: leesdolphin/eventstreamr
 def __init__(self):
     _Argument.__init__(self, optional=True)
コード例 #7
0
ファイル: _protocol.py プロジェクト: aminembarki/flocker
 def __init__(self, cls):
     """
     :param cls: The type of the objects we expect to (de)serialize.
     """
     Argument.__init__(self)
     self._expected_class = cls
コード例 #8
0
 def __init__(self, cls):
     """
     :param cls: The type of the objects we expect to (de)serialize.
     """
     Argument.__init__(self)
     self._expected_class = cls