def get_url(self) -> str:
        """
        Returns the url to interact with the InfluxDB container (health check, REST API, etc.)
        """
        host = self.get_container_host_ip()
        port = self.get_exposed_port(self.container_port)

        return f"http://{host}:{port}"

        Returns the url to interact with the InfluxDB container (health check, REST API, etc.)
        
modules/influxdb/testcontainers/influxdb.py