Module Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str body Expr Str For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list
N/A N/A  A tool to convert from Zimbra dicts to Python dicts

"Zimbra dicts" means lists in the following form::

    [
        {
            "n": "key",
            "_content": "value"
        }
    ]

 zimbra_to_python N/A N/A zimbra_dict key_attribute content_attribute N/A n _content N/A N/A 
    Converts single level Zimbra dicts to a standard python dict

    :param zimbra_dict: The dictionary in Zimbra-Format
    :return: A native python dict
     N/A local_dict N/A N/A item zimbra_dict N/A N/A N/A local_dict N/A N/A item N/A key_attribute N/A item N/A content_attribute N/A local_dict N/A get_value N/A N/A haystack needle key_attribute content_attribute N/A n _content N/A N/A  Fetch a value from a zimbra-like json dict (keys are "n", values are
    "_content"

    This function may be slightly faster than zimbra_to_python(haystack)[
    needle], because it doesn't necessarily iterate over the complete list.

    :param haystack: The list in zimbra-dict format
    :param needle: the key to search for
    :return: the value or None, if the key is not found
     N/A value haystack N/A N/A N/A N/A value N/A key_attribute needle N/A N/A N/A value N/A content_attribute N/A None N/A