<s> import pprint <EOL> from pysellus . interfaces import AbstractIntegration <EOL> class TerminalIntegration ( AbstractIntegration ) : <EOL> def on_next ( self , message ) : <EOL> print ( '<STR_LIT>' . format ( <EOL> message [ '<STR_LIT>' ] , <EOL> message [ '<STR_LIT>' ] <EOL> ) ) <EOL> print ( '<STR_LIT>' ) <EOL> pprint . pprint ( message [ '<STR_LIT>' ] ) <EOL> def on_error ( self , error_message ) : <EOL> print ( '<STR_LIT>' . format ( <EOL> error_message [ '<STR_LIT>' ] , <EOL> error_message [ '<STR_LIT>' ] <EOL> ) ) <EOL> print ( '<STR_LIT>' ) <EOL> pprint . pprint ( error_message [ '<STR_LIT:error>' ] ) <EOL> def on_completed ( self ) : <EOL> print ( "<STR_LIT>" ) </s>
