Skip to main content

Overview

The update() method allows you to modify dataset information including name, description, and metadata. This is useful for maintaining accurate dataset information as your data evolves.

Method Signature

Synchronous

Asynchronous

Parameters

str
required
The unique identifier of the dataset to update.
str
New name for the dataset. If not provided, the current name is preserved.
str
New description for the dataset. If not provided, the current description is preserved.
Dict[str, Any]
New metadata for the dataset. This will merge with existing metadata.

Returns

Returns the updated Dataset object with the following structure:

Examples

Basic Dataset Update

Update Only Name

Update Only Description

Update Metadata

Comprehensive Update

Incremental Metadata Updates

Conditional Updates

Asynchronous Updates

Batch Async Updates

Advanced Use Cases

Version Management

Quality Level Management

Metadata Cleanup

Status Tracking

Automated Maintenance Updates

Error Handling

Comprehensive Error Handling

Validation Before Update

Best Practices

Atomic Updates

Change Tracking

Backup Before Update

Common Use Cases

Dataset Lifecycle Management

Dataset Archival