def flatten_args(args_in):
    "Converts a dictionary of dictionarys and lists into a flat table.\n\n  Args:\n    args_in: dictionary containing a hierachy of dictionaries and lists. Leaf\n      values can be strings, bools, numbers..\n\n  Returns:\n    A flat dictionary with keys separated by '.' and string values.\n  "
    args_out = {}
    _flatten_args(args_in.items(), args_out, None, [args_in])
    return args_out
Converts a dictionary of dictionarys and lists into a flat table.

Args:
  args_in: dictionary containing a hierachy of dictionaries and lists. Leaf
    values can be strings, bools, numbers..

Returns:
  A flat dictionary with keys separated by '.' and string values.
def flatten_args(args_in):
    "Converts a dictionary of dictionarys and lists into a flat table.\n\n  Args:\n    args_in: dictionary containing a hierachy of dictionaries and lists. Leaf\n      values can be strings, bools, numbers..\n\n  Returns:\n    A flat dictionary with keys separated by '.' and string values.\n  "
    args_out = {}
    _flatten_args(args_in.items(), args_out, None, [args_in])
    return args_out