class_docstr: Wrapper around a completer that removes duplicates. Only the first unique
  completions are kept.
  
  Completions are considered to be a duplicate if they result in the same
  document text when they would be applied.
code: def __init__(self, completer: Completer) -> None:
      self.completer = completer
  
imports: from __future__ import annotations
  from typing import Iterable
  from prompt_toolkit.document import Document
  from .base import CompleteEvent, Completer, Completion
label_desc: Use image node_id 1 to create a new DeduplicateCompleter object from inherited base classes: Completer with example: obj = DeduplicateCompleter(completer)