def _compute_default_webhook_server_url() -> str:
    """
    Compute the webhook server URL.

    Returns:
        str: The webhook server URL. If the environment variable `SPACE_HOST` is set, it will return `https://<SPACE_HOST>`.
        Otherwise, it will return the value of the environment variable `WEBHOOK_SERVER_URL` or `http://127.0.0.1:8000`.

    """
    if space_host := os.getenv("SPACE_HOST"):
        return f"https://{space_host}"

    return os.getenv("WEBHOOK_SERVER_URL", "http://127.0.0.1:8000")

    Compute the webhook server URL.

    Returns:
        str: The webhook server URL. If the environment variable `SPACE_HOST` is set, it will return `https://<SPACE_HOST>`.
        Otherwise, it will return the value of the environment variable `WEBHOOK_SERVER_URL` or `http://127.0.0.1:8000`.

    
argilla/src/argilla/webhooks/_helpers.py