Example #1
0
def cms_das(query):
    """
    cmssh command which queries DAS data-service with provided query.
    Examples:
        cmssh> das dataset=/ZMM*
    """
    host = 'https://cmsweb.cern.ch'
    idx = 0
    limit = 0
    debug = 0
    das_client(host, query, idx, limit, debug, 'plain')
Example #2
0
def cms_das(query):
    """
    cmssh command which queries DAS data-service with provided query.
    Examples:
        cmssh> das dataset=/ZMM*
    """
    host  = 'https://cmsweb.cern.ch'
    idx   = 0
    limit = 0
    debug = 0
    das_client(host, query, idx, limit, debug, 'plain')
Example #3
0
def cms_das_json(query):
    """
    cmssh command which queries DAS data-service with provided query and
    returns results in JSON data format
    Examples:
        cmssh> das_json dataset=/ZMM*
    """
    host = 'https://cmsweb.cern.ch'
    idx = 0
    limit = 0
    debug = 0
    res = das_client(host, query, idx, limit, debug, 'json')
    RESMGR.assign([res])
    pprint.pprint(res)
Example #4
0
def cms_das_json(query):
    """
    cmssh command which queries DAS data-service with provided query and
    returns results in JSON data format
    Examples:
        cmssh> das_json dataset=/ZMM*
    """
    host  = 'https://cmsweb.cern.ch'
    idx   = 0
    limit = 0
    debug = 0
    res   = das_client(host, query, idx, limit, debug, 'json')
    RESMGR.assign([res])
    pprint.pprint(res)