This example shows how you can retrieve a report. The example is based on the sample.

Note: For a complete and up-to-date version of the sample code, see the vsphere-automation-sdk-python VMware repository at GitHub.
        # Create a stub configuration
        stub_config = StubConfigurationFactory.new_std_configuration(connector)
        self.report_client = Reports(stub_config)

    def run(self):
        # Retrieve report
        report_details = self.report_client.retrieve('')
        print("Report details - ", report_details)