def get_emit_api(self, action):
        """Build emit api."""
        args = {'action': action}
        args.update(self.context)
        return (
            '%(scheme)s://%(sender)s:%(token)s@%(domain)s:%(port)d'
            '/event/%(project)s/emit/%(action)s' % args
        )
def get_emit_api ( self , action ) : args = { 'action' : action } args . update ( self . context ) return ( '%(scheme)s://%(sender)s:%(token)s@%(domain)s:%(port)d' '/event/%(project)s/emit/%(action)s' % args )
Build emit api.