code: def configure(
      default_ignore_list: Optional[List[str]] = None,
      extend_ignore_list: Optional[List[str]] = None,
  ) -> None:
      if (
          default_ignore_list is not None
          and extend_ignore_list is not None
      ):
          raise ConfigurationError(
              "Either default_ignore_list or extend_ignore_list might be given, not both"
          )
      if default_ignore_list:
          settings.default_ignore_list = default_ignore_list
      if extend_ignore_list:
          settings.default_ignore_list = [
              *settings.default_ignore_list,
              *extend_ignore_list,
          ]
  
imports: from typing import List, Optional
label_desc: Use image node_id 1 for calling a global function with example usage: configure(default_ignore_list, extend_ignore_list) without return types