def load_definitions(definitions, directory=None):
    checks_by_host_type = {}
    for definition in definitions:
        template = (definition.endswith('.yml') and definition[:-4]
                    or definition)
        data = load_data(template, directory)
        for entity_label, entity in data.viewitems():
            if entity_label in checks_by_host_type:
                # combine entities, first pass only update checks.
                checks = checks_by_host_type[entity_label]['checks']
                checks.update(entity['checks'])
            else:
                checks_by_host_type[entity_label] = entity

    return checks_by_host_type
Try to authenticate with given secret.
dataset/ETHPy150Open rcbops/rpc-openstack/maas/testing/compare-definitions.py/load_definitions--crossover with--dataset/ETHPy150Open twisted/ldaptor/ldaptor/interfaces.py/ILDAPEntry.bind