Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/m/r/mr-ray-open-HEAD/renderWave.py   mr-ray-open(Download)
                            'robot_web'             :   config.ROBOT_WEB,
                            'robot_email'           :   base64.b64encode(config.ROBOT_EMAIL),
                            'robot_ident'           :   config.ROBOT_IDENT,
                            'robot_domain'          :   config.ROBOT_DOMAIN,
                            'proxy_for_at_replace'  :   config.PROXY_FOR_AT_REPLACE,
if __name__=="__main__":
 
    mrray = robot.Robot(config.ROBOT_IDENT)
    mrray.setup_oauth(config.CONSUMER_KEY, config.CONSUMER_SECRET, server_rpc_base=config.WAVE_SERVER_RPC)
 

src/m/r/mr-ray-open-HEAD/actionWave.py   mr-ray-open(Download)
            proxy_for = utils.getProxyForFromEmail(self.email)
 
            if wavelet.participants.get_role(config.ROBOT_IDENT + "+" + proxy_for + "@" + config.ROBOT_DOMAIN) == wavelet.participants.ROLE_READ_ONLY:
                #TODO wrong exception raised here
                raise waveRpc.NotParticipantException("Wave permissions do not permit reply")
        proxy_for = utils.getProxyForFromPublic(self.name)
 
        if wavelet.participants.get_role(config.ROBOT_IDENT + "+" + proxy_for + "@" + config.ROBOT_DOMAIN) == wavelet.participants.ROLE_READ_ONLY:
            #TODO wrong exception raised here
            raise waveRpc.NotParticipantException("Wave permissions do not permit reply")
            child_blips = new_parent_blip.child_blips
            for b in child_blips:
                if config.ROBOT_IDENT + "+" + utils.getProxyForFromEmail(self.email) + "@" + config.ROBOT_DOMAIN in b.contributors:
                    self.__UserReads(b.blip_id)
 
    logging.info("Creating robot: /wave/action/")
 
    mrray = robot.Robot(config.ROBOT_IDENT)
    mrray.setup_oauth(config.CONSUMER_KEY, config.CONSUMER_SECRET, server_rpc_base=config.WAVE_SERVER_RPC)