def GetReportByName(name):
 report_class = REGISTRY.GetRegisteredPlugins()[name]
 report_object = report_class()
 return report_object

def GetReportByName ( name ) : report_class = REGISTRY . GetRegisteredPlugins ( ) [ name ] report_object = report_class ( ) return report_object
maps report plugin names to report objects .