class_docstr: Complete for Path variables.
  
  :param get_paths: Callable which returns a list of directories to look into
                    when the user enters a relative path.
  :param file_filter: Callable which takes a filename and returns whether
                      this file should show up in the completion. ``None``
                      when no filtering has to be done.
  :param min_input_len: Don't do autocompletion when the input string is shorter.
code: def __init__(
      self,
      only_directories: bool = False,
      get_paths: Callable[[], list[str]] | None = None,
      file_filter: Callable[[str], bool] | None = None,
      min_input_len: int = 0,
      expanduser: bool = False,
  ) -> None:
      self.only_directories = only_directories
      self.get_paths = get_paths or (lambda: ["."])
      self.file_filter = file_filter or (lambda _: True)
      self.min_input_len = min_input_len
      self.expanduser = expanduser
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/completion/filesystem.py
imports: from __future__ import annotations
  import os
  from typing import Callable, Iterable
  from prompt_toolkit.completion import CompleteEvent, Completer, Completion
  from prompt_toolkit.document import Document
label_desc: Use image node_id 1 to create a new PathCompleter object from inherited base classes: Completer with example: obj = PathCompleter(only_directories, get_paths, file_filter, min_input_len, expanduser)