def execute_proxy(operations): report = Report() resources = {} resources["report"] = report for what, kwargs in operations: what(resources=resources, **kwargs) print report.format_tree() return report
def execute_proxy(operations): report = Report() resources = {} resources['report'] = report for what, kwargs in operations: what(resources=resources, **kwargs) print(report.format_tree()) return report