class_docstr: Interact and perform actions on GitHub API.
  
  This operator is designed to use GitHub's Python SDK: https://github.com/PyGithub/PyGithub
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:GithubOperator`
  
  :param github_conn_id: Reference to a pre-defined GitHub Connection
  :param github_method: Method name from GitHub Python SDK to be called
  :param github_method_args: Method parameters for the github_method. (templated)
  :param result_processor: Function to further process the response from GitHub API
code: def __init__(
      self,
      *,
      github_method: str,
      github_conn_id: str = "github_default",
      github_method_args: dict | None = None,
      result_processor: Callable | None = None,
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.github_conn_id = github_conn_id
      self.method_name = github_method
      self.github_method_args = github_method_args or {}
      self.result_processor = result_processor
  
file_path: airflow/airflow/providers/github/operators/github.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Callable
  from github import GithubException
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator
  from airflow.providers.github.hooks.github import GithubHook
label_desc: Use image node_id 1 to create a new GithubOperator object from inherited base classes: BaseOperator with example: obj = GithubOperator()