code: def update_env(**new_env: str) -> Iterator[None]:
      old = os.environ.copy()
  
      try:
          os.environ.update(new_env)
  
          yield None
      finally:
          os.environ.clear()
          os.environ.update(old)
  
file_path: openai-python/tests/utils.py
imports: from __future__ import annotations
  import os
  import inspect
  import traceback
  import contextlib
  from typing import Any, TypeVar, Iterator, cast
  from datetime import date, datetime
  from typing_extensions import Literal, get_args, get_origin, assert_type
  from openai._types import NoneType
  from openai._utils import is_dict, is_list, is_list_type, is_union_type
  from openai._compat import PYDANTIC_V2, field_outer_type, get_model_fields
  from openai._models import BaseModel
label_desc: Use image node_id 4 for calling a global function with example usage: update_env() without return types