code: def __dir__(self) -> List[str]:
      # Hack to enable autocomplete on custom extensions
      extensions = list(self._extensions.keys())
      return ["set", "get", "has"] + extensions
  
file_path: spacy/spacy/tokens/underscore.py
imports: import copy
  import functools
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple, Union
  from ..errors import Errors
label_desc: Use image node_id 2 for calling the Underscore obj's underlying member method code with example usage: obj.__dir__() and returns: unknown