code: def wait_until_responds(url, timeout=5.0, client=httpx, **kwargs):
      start = time.time()
      while time.time() - start < timeout:
          try:
              client.get(url, **kwargs)
              return
          except httpx.ConnectError:
              time.sleep(0.1)
      raise AssertionError(
          "Timed out waiting for {} to respond".format(url)
      )
  
imports: import asyncio
  import httpx
  import os
  import pathlib
  import pytest
  import pytest_asyncio
  import re
  import subprocess
  import tempfile
  import time
  import trustme
label_desc: Use image node_id 1 for calling a global function with example usage: wait_until_responds(url, timeout, client) without return types