@require_server_admin_api
@has_request_variables
def get_chart_data_for_remote_installation(request: HttpRequest, user_profile: UserProfile, remote_server_id: int, chart_name: str=REQ(), **kwargs: Any) -> HttpResponse:
    assert settings.ZILENCER_ENABLED
    server = RemoteZulipServer.objects.get(id=remote_server_id)
    return get_chart_data(request=request, user_profile=user_profile, for_installation=True, remote=True, server=server, **kwargs)
@require_server_admin_api
@has_request_variables
def get_chart_data_for_remote_installation(request: HttpRequest, user_profile: UserProfile, remote_server_id: int, chart_name: str=REQ(), **kwargs: Any) -> HttpResponse:
    assert settings.ZILENCER_ENABLED
    server = RemoteZulipServer.objects.get(id=remote_server_id)
    return get_chart_data(request=request, user_profile=user_profile, for_installation=True, remote=True, server=server, **kwargs)