code: def clear_session_stack():
      yield
      _TrainingSession._session_stack.clear()
  
file_path: mlflow/tests/autologging/test_training_session.py
imports: import pytest
  from mlflow.utils.autologging_utils import _get_new_training_session_class
label_desc: Use image node_id 1 for calling a global function with example usage: clear_session_stack() without return types