def _health_check(self) -> dict:
        """
        Performs a health check on the running InfluxDB container.
        The call is retried until it works thanks to the @wait_container_is_ready decorator.
        See its documentation for the max number of retries or the timeout.
        """

        url = self.get_url()
        response = get(f"{url}/health", timeout=1)
        response.raise_for_status()

        return response.json()

        Performs a health check on the running InfluxDB container.
        The call is retried until it works thanks to the @wait_container_is_ready decorator.
        See its documentation for the max number of retries or the timeout.
        
modules/influxdb/testcontainers/influxdb.py