code: def get_reports_page(self, is_enclave=None, enclave_ids=None, tag=None, excluded_tags=None,
                           from_time=None, to_time=None):
          distribution_type = None
          if is_enclave:
              distribution_type = DistributionType.ENCLAVE
          elif not is_enclave:
              distribution_type = DistributionType.COMMUNITY
          if enclave_ids is None:
              enclave_ids = self.enclave_ids
          params = {
              'from': from_time,
              'to': to_time,
              'distributionType': distribution_type,
              'enclaveIds': enclave_ids,
              'tags': tag,
              'excludedTags': excluded_tags
          }
          resp = self._client.get("reports", params=params)
          result = Page.from_dict(resp.json(), content_type=Report)
          return result