(dictionary: Dict[str, Dict[str, Any]], search_string: str)
| 404 | |
| 405 | @staticmethod |
| 406 | def find_key_by_string_in_value(dictionary: Dict[str, Dict[str, Any]], search_string: str) -> Optional[str]: |
| 407 | for key, value in dictionary.items(): |
| 408 | if search_string in value.get("value", ""): |
| 409 | return key |
| 410 | return None |
| 411 |
no outgoing calls
no test coverage detected