in src/aws_encryption_sdk/streaming_client.py [0:0]
def __init__(self, **kwargs): # pylint: disable=unused-argument,super-init-not-called
"""Prepares necessary initial values."""
self.sequence_number = 1
self.content_type = aws_encryption_sdk.internal.utils.content_type(self.config.frame_length)
self._bytes_encrypted = 0
if self.config.frame_length == 0 and (
self.config.source_length is not None and self.config.source_length > MAX_NON_FRAMED_SIZE
):
raise SerializationError("Source too large for non-framed message")
self.__unframed_plaintext_cache = io.BytesIO()
self.__message_complete = False