code: def env_file_fixture(txt):
      dir_ = os.path.join(_get_staging_directory(), "scripts")
      txt = (
          """
  from alembic import context
  
  config = context.config
  """
          + txt
      )
  
      path = os.path.join(dir_, "env.py")
      pyc_path = util.pyc_file_from_path(path)
      if pyc_path:
          os.unlink(pyc_path)
  
      with open(path, "w") as f:
          f.write(txt)
  
imports: import importlib.machinery
  import os
  import shutil
  import textwrap
  from sqlalchemy.testing import config
  from sqlalchemy.testing import provision
  from .None import util
  from ..None import command
  from ..None import script
  from ..None import util
  from ..script import Script
  from ..script import ScriptDirectory
label_desc: Use image node_id 5 for calling a global function with example usage: env_file_fixture(txt) without return types