code: def _format_env(env: list[str]) -> list[str]:
      return [f"{e}={shlex.quote(os.environ.get(e, ''))}" for e in env]
  
file_path: BentoML/src/bentoml_cli/env.py
imports: from __future__ import annotations
  import importlib.metadata
  import os
  import platform
  import shlex
  import shutil
  import subprocess
  import sys
  import typing
  from gettext import gettext
  import click
label_desc: Use image node_id 3 for calling a global function with example usage: _format_env(env) and returns: unknown