code: def build_basic_url(scheme, host, port):
      netloc = host + ":" + str(port)
      url = urlunparse([scheme, netloc, "", "", "", ""])
      return url
  
file_path: mindsdb/mindsdb/integrations/handlers/eventstoredb_handler/utils/helpers.py
imports: from urllib.parse import urlunparse, urljoin
  import re
  import pandas
  import json
  import base64
label_desc: Use image node_id 1 for calling a global function with example usage: build_basic_url(scheme, host, port) and returns: url