code: def update(
      self,
      examples: Iterable["Example"],
      *,
      drop: float = 0.0,
      sgd: Optional[Optimizer] = None,
      losses: Optional[Dict[str, float]] = None,
  ) -> Dict[str, float]:
      ...
  
file_path: spaCy/spacy/ty.py
imports: from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, List, Optional, Sequence
  from thinc.api import Model, Optimizer
  from .compat import Protocol, runtime_checkable
label_desc: Use image node_id 1 for calling the TrainableComponent obj's underlying member method code with example usage: obj.update(examples) without return types