code: def finish_update(self, sgd: Optimizer) -> None:
      ...
  
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 2 for calling the TrainableComponent obj's underlying member method code with example usage: obj.finish_update(sgd) without return types