code: def _get_filter_file_extensions(args):
      """
      Returns file extensions to filter, if Filter type is EXCLUDE the file extensions will be excluded
      from the knowledge source, if Filter type is INCLUDE the file extensions will be included in the
      knowledge source.
      """
      # filter_file_extensions is not provided
      if "filter_file_extensions" not in args:
          return None
  
      # if filter_type is provided with EXCLUDE or INCLUDE
      if (
          args["filter_file_extensions"]
          and args["filter_type"].upper() == "INCLUDE"
      ):
          filter_file_extensions = args["filter_file_extensions"]
          return (
              filter_file_extensions,
              GithubRepositoryReader.FilterType.INCLUDE,
          )
      else:
          filter_file_extensions = args["filter_file_extensions"]
          return (
              filter_file_extensions,
              GithubRepositoryReader.FilterType.EXCLUDE,
          )
  
imports: import os
  from llama_hub.github_repo import GithubRepositoryReader
label_desc: Use image node_id 2 for calling a global function with example usage: _get_filter_file_extensions(args) and returns: None, filter_file_extensions,  GithubRepositoryReader, filter_file_extensions,  GithubRepositoryReader