dictutils

dictutils

oslo_utils.dictutils.flatten_dict_to_keypairs(d, separator=':')

Generator that produces sequence of keypairs for nested dictionaries.

Parameters:
  • d – dictionaries which may be nested
  • separator – symbol between names
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.