Skip to contents

Updates the default namespace setting for the workspace. A fresh etag needs to be provided in PATCH requests (as part of the setting field). The etag can be retrieved by making a GET request before the PATCH request. Note that if the setting does not exist, GET returns a NOT_FOUND error and the etag is present in the error response, which should be set in the PATCH request. If the setting is updated concurrently, PATCH fails with 409 and the request must be retried by using the fresh etag in the 409 response.

Usage

update_default_namespace(client, allow_missing, setting, field_mask)

defaultNamespaceUpdate(client, allow_missing, setting, field_mask)

Arguments

client

Required. Instance of DatabricksClient()

allow_missing

Required. This should always be set to true for Settings API.

setting

Required. This represents the setting configuration for the default namespace in the Databricks workspace.

field_mask

Required. Field mask is required to be passed into the PATCH request.