code: def metadata_url(node: Dict) -> str:
      ip = node["ip"]
      endpoint = node["metadata_endpoint"]
      return f"http://{ip}{endpoint}"
  
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 4 for calling a global function with example usage: metadata_url(node) and returns: str, ip, endpoint