code: def get_config() -> dict[str, Any]:
      """
      Get key configuration info about dev environment: OS, python, spacy, and textacy.
  
      Returns:
          dict
      """
      from spacy.about import __version__ as spacy_version
      from spacy.util import get_installed_models
  
      from ._version import __version__ as textacy_version
  
      return {
          "platform": sys.platform,
          "python": sys.version,
          "spacy": spacy_version,
          "spacy_models": get_installed_models(),
          "textacy": textacy_version,
      }
  
imports: from __future__ import annotations
  import inspect
  import logging
  import pathlib
  import sys
  import warnings
  from typing import Any, Callable, Collection, Iterable, Literal, Optional, Type, Union, cast
  from .None import errors
  from .None import types
label_desc: Use image node_id 2 for calling a global function with example usage: get_config() and returns: dict