<s> """<STR_LIT>""" <EOL> import zlib <EOL> from djangoflash . codec . json_impl import CodecClass as JSONCodecClass <EOL> from djangoflash . models import FlashScope <EOL> class CodecClass ( JSONCodecClass ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> """<STR_LIT>""" <EOL> JSONCodecClass . __init__ ( self ) <EOL> def encode ( self , flash ) : <EOL> """<STR_LIT>""" <EOL> return zlib . compress ( JSONCodecClass . encode ( self , flash ) ) <EOL> def decode ( self , encoded_flash ) : <EOL> """<STR_LIT>""" <EOL> return JSONCodecClass . decode ( self , zlib . decompress ( encoded_flash ) ) </s>
