class Turbopuffer::Resources::Namespaces

def hint_cache_warm(params = {})

Other tags:
    See: Turbopuffer::Models::NamespaceHintCacheWarmParams -

Returns:
  • (Turbopuffer::Models::NamespaceHintCacheWarmResponse) -

Parameters:
  • request_options (Turbopuffer::RequestOptions, Hash{Symbol=>Object}, nil) --
  • namespace (String) -- The name of the namespace.

Overloads:
  • hint_cache_warm(namespace: nil, request_options: {})
def hint_cache_warm(params = {})
  parsed, options = Turbopuffer::NamespaceHintCacheWarmParams.dump_request(params)
  namespace =
    parsed.delete(:namespace) do
      @client.default_namespace
    end
  @client.request(
    method: :get,
    path: ["v1/namespaces/%1$s/hint_cache_warm", namespace],
    model: Turbopuffer::Models::NamespaceHintCacheWarmResponse,
    options: options
  )
end