<s> import io <EOL> import json <EOL> class Stream ( object ) : <EOL> __shortname__ = "<STR_LIT>" <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , session ) : <EOL> self . session = session <EOL> def __repr__ ( self ) : <EOL> return "<STR_LIT>" <EOL> def __json__ ( self ) : <EOL> return dict ( type = type ( self ) . shortname ( ) ) <EOL> def open ( self ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError <EOL> @ property <EOL> def json ( self ) : <EOL> obj = self . __json__ ( ) <EOL> return json . dumps ( obj ) <EOL> @ classmethod <EOL> def shortname ( cls ) : <EOL> return cls . __shortname__ <EOL> class StreamIO ( io . IOBase ) : <EOL> pass <EOL> __all__ = [ "<STR_LIT>" , "<STR_LIT>" ] </s>
