code: def shell(command: str) -> str:
      try:
          output = subprocess.check_output(  # nosec
              command, shell=True, stderr=subprocess.STDOUT
          )
      except Exception:
          output = b""
      return output.decode("utf-8").strip()
  
imports: import json
  import os
  import subprocess
  from typing import Any
  from typing import Dict
  from typing import Optional
  from typing import Tuple
  import git
  import requests
label_desc: Use image node_id 3 for calling a global function with example usage: shell(command) and returns: output