delete_dataset_queued_events
Removes queued Dataset events for a specified Dataset URI in Apache Airflow, ensuring clean event management and workflow efficiency. Supports optional time filtering.
Instructions
Delete queued Dataset events for a Dataset
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No | ||
| uri | Yes |
Implementation Reference
- src/airflow/dataset.py:162-171 (handler)Handler function that deletes queued dataset events by calling the underlying dataset_api.delete_dataset_queued_events with uri and optional before parameter, returning the response as text content.async def delete_dataset_queued_events( uri: str, before: Optional[str] = None, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: kwargs: Dict[str, Any] = {} if before is not None: kwargs["before"] = before response = dataset_api.delete_dataset_queued_events(uri=uri, **kwargs) return [types.TextContent(type="text", text=str(response.to_dict()))]
- src/airflow/dataset.py:34-38 (registration)Registration of the tool in the get_all_functions() list, including the function reference, name, description, and mutability flag.delete_dataset_queued_events, "delete_dataset_queued_events", "Delete queued Dataset events for a Dataset", False, ),