def server_deployment_type() -> str:
    """Returns the type of deployment of the server."""
    global _server_deployment_type

    if _server_deployment_type is None:
        if is_running_on_huggingface_space():
            _server_deployment_type = "huggingface_space"
        elif _is_quickstart_env():
            _server_deployment_type = "quickstart"
        else:
            _server_deployment_type = "server"
    return _server_deployment_type
Returns the type of deployment of the server.
argilla-server/src/argilla_server/telemetry/_helpers.py