def expandService(service_element):
    uris = sortedURIs(service_element)
    if not uris:
        uris = [None]

    expanded = []
    for uri in uris:
        type_uris = getTypeURIs(service_element)
        expanded.append((type_uris, uri, service_element))

    return expanded
Helper function. Adds item to inventory. Returns inventory ID.
dataset/ETHPy150Open necaris/python3-openid/openid/yadis/etxrd.py/expandService--crossover with--dataset/ETHPy150Open flags/Reactor-3/life.py/add_item_to_inventory