uw_canvas/reports.py
def get_report_status(self, report):
        """
        Returns the status of a report.

        https://canvas.instructure.com/doc/api/account_reports.html#method.account_reports.show
        """
        if (report.account_id is None or report.type is None or
                report.report_id is None):
            raise ReportFailureException(report)

        url = ACCOUNTS_API.format(report.account_id) + "/reports/{}/{}".format(
            report.type, report.report_id)

        data = self._get_resource(url)
        data["account_id"] = report.account_id
        return Report(data=data)
def get_report_status(self, report):
        if (report.account_id is None or report.type is None or
                report.report_id is None):
            raise ReportFailureException(report)

        url = ACCOUNTS_API.format(report.account_id) + "/reports/{}/{}".format(
            report.type, report.report_id)

        data = self._get_resource(url)
        data["account_id"] = report.account_id
        return Report(data=data)
def get_report_status ( self , report ) : if ( report . account_id is None or report . type is None or report . report_id is None ) : raise ReportFailureException ( report ) url = ACCOUNTS_API . format ( report . account_id ) + "/reports/{}/{}" . format ( report . type , report . report_id ) data = self . _get_resource ( url ) data [ "account_id" ] = report . account_id return Report ( data = data )
Returns the status of a report.

        https://canvas.instructure.com/doc/api/account_reports.html#method.account_reports.show
Returns the status of a report .