code: def new_G(request):
      settings.G.reset_attributes()
      yield
  
file_path: hyperparameter_hunter/tests/conftest.py
imports: from hyperparameter_hunter import settings
  from hyperparameter_hunter.environment import Environment
  from hyperparameter_hunter.utils.learning_utils import get_toy_classification_data
  from os import makedirs
  import pytest
  from shutil import rmtree
label_desc: Use image node_id 1 for calling a global function with example usage: new_G(request) without return types