pyyeti.cla.DR_Results.all_categories

DR_Results.all_categories()[source]

A generator for looping over all data recovery categories

Yields:
  • name (str) – The next data recovery category name (the dictionary keys in the base-level DR_Results items).

  • cat (SimpleNamespace) – The next data recovery category SimpleNamespace with .ext, .cases, etc; see results['MaxQ']['SC_ifa'] in DR_Results for an example.

  • path (list) – List of strings showing the path to the category, including the name of the category itself.

Notes

Entries that are neither a DR_Results nor a SimpleNamespace are quietly ignored.

Examples

See all_base_events() for an example.