def agent_info(**kwargs): ''' Get information for the specified agent ''' required = {'agent_id': 'agentId'} optional = {} req_args = validate_kwargs(required, optional, **kwargs) return get(action='agentInfo', **req_args)
def get_jobs(**kwargs): ''' Get jobs for the specified custom agent ''' required = {'agent_id': 'agentId'} optional = {} req_args = validate_kwargs(required, optional, **kwargs) return get(action='getJobs', **req_args)
def get_agents(**kwargs): ''' Get user's custom agents ''' required = {} optional = {'load_tests': 'loadTests', 'load_params': 'loadParams', 'type': 'type'} req_args = validate_kwargs(required, optional, **kwargs) return get(action='getAgents', **req_args)
def get_agents(**kwargs): ''' Get user's custom agents ''' required = {} optional = { 'load_tests': 'loadTests', 'load_params': 'loadParams', 'type': 'type' } req_args = validate_kwargs(required, optional, **kwargs) return get(action='getAgents', **req_args)