docstr: Get a list of report schedule logs.
  ---
  get:
    summary: Get a list of report schedule logs
    parameters:
    - in: path
      schema:
        type: integer
      description: The report schedule id for these logs
      name: pk
    - in: query
      name: q
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/get_list_schema'
    responses:
      200:
        description: Items from logs
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  description: >-
                    A list of log ids
                  type: array
                  items:
                    type: string
                count:
                  description: >-
                    The total record count on the backend
                  type: number
                result:
                  description: >-
                    The result from the get list query
                  type: array
                  items:
                    $ref: '#/components/schemas/{{self.__class__.__name__}}.get_list'  # pylint: disable=line-too-long
      400:
        $ref: '#/components/responses/400'
      401:
        $ref: '#/components/responses/401'
      422:
        $ref: '#/components/responses/422'
      500:
        $ref: '#/components/responses/500'
docstr_tok: ["Get","a","list","of","report","schedule","logs",".","--","-","get",":","summary",":","Get","a","list","of","report","schedule","logs","parameters",":","-","in",":","path","schema",":","type",":","integer","description",":","The","report","schedule","id","for","these","logs","name",":","pk","-","in",":","query","name",":","q","content",":","application\/json",":","schema",":","$","ref",":","'","#","\/components\/schemas\/get_list_schema'","responses",":","200",":","description",":","Items","from","logs","content",":","application\/json",":","schema",":","type",":","object","properties",":","ids",":","description",":",">","-","A","list","of","log","ids","type",":","array","items",":","type",":","string","count",":","description",":",">","-","The","total","record","count","on","the","backend","type",":","number","result",":","description",":",">","-","The","result","from","the","get","list","query","type",":","array","items",":","$","ref",":","'","#","\/components\/schemas\/","{","{","self.__class__.__name__","}","}",".get_list","'","#","pylint",":","disable=line-too-long","400",":","$","ref",":","'","#","\/components\/responses\/400'","401",":","$","ref",":","'","#","\/components\/responses\/401'","422",":","$","ref",":","'","#","\/components\/responses\/422'","500",":","$","ref",":","'","#","\/components\/responses\/500","'"]
code: def get_list(  # pylint: disable=arguments-differ
      self, pk: int, **kwargs: Any
  ) -> Response:
      """Get a list of report schedule logs.
      ---
      get:
        summary: Get a list of report schedule logs
        parameters:
        - in: path
          schema:
            type: integer
          description: The report schedule id for these logs
          name: pk
        - in: query
          name: q
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_list_schema'
        responses:
          200:
            description: Items from logs
            content:
              application/json:
                schema:
                  type: object
                  properties:
                    ids:
                      description: >-
                        A list of log ids
                      type: array
                      items:
                        type: string
                    count:
                      description: >-
                        The total record count on the backend
                      type: number
                    result:
                      description: >-
                        The result from the get list query
                      type: array
                      items:
                        $ref: '#/components/schemas/{{self.__class__.__name__}}.get_list'  # pylint: disable=line-too-long
          400:
            $ref: '#/components/responses/400'
          401:
            $ref: '#/components/responses/401'
          422:
            $ref: '#/components/responses/422'
          500:
            $ref: '#/components/responses/500'
      """
      self._apply_layered_relation_to_rison(pk, kwargs["rison"])
      return self.get_list_headless(**kwargs)
  
file_path: superset/superset/reports/logs/api.py
imports: import logging
  from typing import Any, Optional
  from flask import Response
  from flask_appbuilder.api import expose, permission_name, protect, rison, safe
  from flask_appbuilder.api.schemas import get_item_schema, get_list_schema
  from flask_appbuilder.hooks import before_request
  from flask_appbuilder.models.sqla.interface import SQLAInterface
  from superset import is_feature_enabled
  from superset.constants import MODEL_API_RW_METHOD_PERMISSION_MAP, RouteMethod
  from superset.reports.logs.schemas import openapi_spec_methods_override
  from superset.reports.models import ReportExecutionLog
  from superset.views.base_api import BaseSupersetModelRestApi
label_desc: Use image node_id 3 for calling the ReportExecutionLogRestApi obj's underlying member method code with example usage: obj.get_list(pk) and returns: self