code: def hf_endpoint(hostname: str, port: int) -> str:
      return f"http://{hostname}:{port}"
  
file_path: datasets-server/libs/libapi/tests/conftest.py
imports: from pathlib import Path
  from pytest import fixture
  from libapi.config import ApiConfig
label_desc: Use image node_id 4 for calling a global function with example usage: hf_endpoint(hostname, port) and returns: str, hostname, str, port