code: def _get_github_token(args, connection_args):
      """
      API_KEY preference order:
          1. provided at model creation
          2. provided at engine creation
          3. GITHUB_TOKEN env variable
  
      Note: method is not case-sensitive.
      """
      key = "GITHUB_TOKEN"
      for k in key, key.lower():
          if args.get(k):
              return args[k]
  
          connection_args = connection_args
          if connection_args.get(k):
              return connection_args[k]
  
          api_key = os.getenv(k)
          if os.environ.get(k):
              return api_key
  
      return None
  
imports: import os
  from llama_hub.github_repo import GithubRepositoryReader
label_desc: Use image node_id 1 for calling a global function with example usage: _get_github_token(args, connection_args) and returns: None, args, connection_args, api_key