code: def _apply_twine_env_creds(env):
      try:
          env["TWINE_USERNAME"] = os.environ["TWINE_USERNAME"]
      except KeyError:
          pass
      try:
          env["TWINE_PASSWORD"] = os.environ["TWINE_PASSWORD"]
      except KeyError:
          pass
  
file_path: guildai/guild/package.py
imports: import logging
  import os
  import subprocess
  import sys
  import yaml
  from guild import resource
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 3 for calling a global function with example usage: _apply_twine_env_creds(env) without return types