code: def add_type(self, effect_type: type[Effect]):
      self._effect_types.add(effect_type)
  
file_path: jax/jax/_src/effects.py
imports: from __future__ import annotations
  from collections.abc import Iterable, Set
  from typing import Any
label_desc: Use image node_id 2 for calling the EffectTypeSet obj's underlying member method code with example usage: obj.add_type(effect_type) without return types