code: def _remove_duplicates_from_path(path):
      used = set()
      for p in path:
          if p in used:
              continue
          used.add(p)
          yield p
  
imports: import os
  import json
  from jedi._compatibility import FileNotFoundError, NotADirectoryError, PermissionError
  from jedi.api.environment import SameEnvironment, get_cached_default_environment
  from jedi.api.exceptions import WrongVersion
  from jedi._compatibility import force_unicode
  from jedi.evaluate.sys_path import discover_buildout_paths
  from jedi.evaluate.cache import evaluator_as_method_param_cache
  from jedi.common.utils import traverse_parents
label_desc: Use image node_id 1 for calling a global function with example usage: _remove_duplicates_from_path(path) without return types