<s> """<STR_LIT>""" <EOL> from redis import Redis <EOL> __all__ = [ '<STR_LIT>' ] <EOL> class Connection ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> self . _redis = None <EOL> @ property <EOL> def redis ( self ) : <EOL> if not self . _redis : <EOL> self . _redis = Redis ( ) <EOL> return self . _redis <EOL> @ redis . setter <EOL> def redis ( self , conn ) : <EOL> self . _redis = conn <EOL> global_connection = Connection ( ) </s>
