docstr: Get a report schedule log.
  ---
  get:
    summary: Get a report schedule log
    parameters:
    - in: path
      schema:
        type: integer
      name: pk
      description: The report schedule pk for log
    - in: path
      schema:
        type: integer
      name: log_id
      description: The log pk
    - in: query
      name: q
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/get_item_schema'
    responses:
      200:
        description: Item log
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: The log id
                  type: string
                result:
                  $ref: '#/components/schemas/{{self.__class__.__name__}}.get'
      400:
        $ref: '#/components/responses/400'
      401:
        $ref: '#/components/responses/401'
      404:
        $ref: '#/components/responses/404'
      422:
        $ref: '#/components/responses/422'
      500:
        $ref: '#/components/responses/500'
docstr_tok: ["Get","a","report","schedule","log",".","--","-","get",":","summary",":","Get","a","report","schedule","log","parameters",":","-","in",":","path","schema",":","type",":","integer","name",":","pk","description",":","The","report","schedule","pk","for","log","-","in",":","path","schema",":","type",":","integer","name",":","log_id","description",":","The","log","pk","-","in",":","query","name",":","q","content",":","application\/json",":","schema",":","$","ref",":","'","#","\/components\/schemas\/get_item_schema'","responses",":","200",":","description",":","Item","log","content",":","application\/json",":","schema",":","type",":","object","properties",":","id",":","description",":","The","log","id","type",":","string","result",":","$","ref",":","'","#","\/components\/schemas\/","{","{","self.__class__.__name__","}","}",".get'","400",":","$","ref",":","'","#","\/components\/responses\/400'","401",":","$","ref",":","'","#","\/components\/responses\/401'","404",":","$","ref",":","'","#","\/components\/responses\/404'","422",":","$","ref",":","'","#","\/components\/responses\/422'","500",":","$","ref",":","'","#","\/components\/responses\/500","'"]
code: def get(  # pylint: disable=arguments-differ
      self, pk: int, log_id: int, **kwargs: Any
  ) -> Response:
      """Get a report schedule log.
      ---
      get:
        summary: Get a report schedule log
        parameters:
        - in: path
          schema:
            type: integer
          name: pk
          description: The report schedule pk for log
        - in: path
          schema:
            type: integer
          name: log_id
          description: The log pk
        - in: query
          name: q
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_item_schema'
        responses:
          200:
            description: Item log
            content:
              application/json:
                schema:
                  type: object
                  properties:
                    id:
                      description: The log id
                      type: string
                    result:
                      $ref: '#/components/schemas/{{self.__class__.__name__}}.get'
          400:
            $ref: '#/components/responses/400'
          401:
            $ref: '#/components/responses/401'
          404:
            $ref: '#/components/responses/404'
          422:
            $ref: '#/components/responses/422'
          500:
            $ref: '#/components/responses/500'
      """
      self._apply_layered_relation_to_rison(pk, kwargs["rison"])
      return self.get_headless(log_id, **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 4 for calling the ReportExecutionLogRestApi obj's underlying member method code with example usage: obj.get(pk, log_id) and returns: self