def _get_service(service, profile):
    if isinstance(profile, dict) and 'service' in profile:
        return profile['service']

    return service
Add a provider to the registry. This will also provide conflict
dataset/ETHPy150Open saltstack/salt/salt/sdb/keyring_db.py/_get_service--crossover with--dataset/ETHPy150Open bbangert/velruse/velruse/api.py/register_provider