code: def __call__(self, doc: Doc, *args: Any, **kwargs: Any) -> Any:
      ...
  
file_path: textacy/src/textacy/types.py
imports: from pathlib import Path
  from typing import Any, Callable, Iterable, NamedTuple, Protocol, TypeVar, Union
  from spacy.language import Language
  from spacy.tokens import Doc, Span, Token
label_desc: Use image node_id 1 for calling the DocExtFunc obj's underlying member method code with example usage: obj.__call__(doc) without return types