code: def _remove_duplicates(filters: list[Filter]) -> list[Filter]:
      result = []
      for f in filters:
          if f not in result:
              result.append(f)
      return result
  
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod
  from typing import Callable, Iterable, Union
label_desc: Use image node_id 1 for calling a global function with example usage: _remove_duplicates(filters) and returns: result