code: def get_app_session() -> AppSession:
      return _current_app_session.get()
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/application/current.py
imports: from __future__ import annotations
  from contextlib import contextmanager
  from contextvars import ContextVar
  from typing import TYPE_CHECKING, Any, Generator
label_desc: Use image node_id 1 for calling a global function with example usage: get_app_session() and returns: _current_app_session