コード例 #1
0
ファイル: agent.py プロジェクト: SeanYa/Python-SDK
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)
コード例 #2
0
ファイル: agent.py プロジェクト: SeanYa/Python-SDK
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)
コード例 #3
0
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)
コード例 #4
0
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)
コード例 #5
0
ファイル: agent.py プロジェクト: SeanYa/Python-SDK
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)
コード例 #6
0
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)