wait_until_ready
Monitor a data asset's status until it becomes ready or fails, with configurable polling intervals and optional timeout settings.
Instructions
Poll a data asset until it reaches 'Ready' or 'Failed' state with configurable timing.
Args: data_asset: The data asset object to monitor polling_interval: Time between status checks in seconds (minimum 5 seconds) timeout: Maximum time to wait in seconds, or None for no timeout
Returns: Updated data asset object once ready or failed
Raises:
ValueError: If polling_interval < 5 or timeout constraints are violated
TimeoutError: If data asset doesn't become ready within timeout period
Poll until the specified data asset becomes ready before performing further operations (e.g., downloading files). You can set polling_interval and optional timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_asset | Yes | ||
| polling_interval | No | ||
| timeout | No |