(dict_, pairs, raise_error=True)
| 209 | |
| 210 | |
| 211 | def get_entry_multi(dict_, pairs, raise_error=True): |
| 212 | for entry in dict_: |
| 213 | if all([entry[key] == value for key, value in pairs]): |
| 214 | return entry |
| 215 | if raise_error is True: |
| 216 | raise SaltCloudSystemExit(f"Unable to find {pairs} in {dict_}.") |
| 217 | return {} |
| 218 | |
| 219 | |
| 220 | def get_endpoint_url_v3(catalog, service_type, region_name): |
nothing calls this directly
no test coverage detected