Sweeper.option_value#

classmethod Sweeper.option_value(a_dict: Dict, search: str) str[source]#

Get value from dict based on key. This method is used for unknown depth, dict search, within a dict.

Parameters:
  • a_dict (Dict) – Dictionary to get values from

  • search (str) – String to search for

Returns:

Value from the dictionary of the searched term.

Return type:

str