get_dag_dataset_queued_event
Retrieve queued Dataset events for Apache Airflow DAGs to monitor dataset-triggered workflow status and identify pending executions.
Instructions
Get a queued Dataset event for a DAG
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| uri | Yes |
Implementation Reference
- src/airflow/dataset.py:120-125 (handler)The main handler function that executes the tool: fetches the queued dataset event via the dataset_api and formats the response as TextContent.async def get_dag_dataset_queued_event( dag_id: str, uri: str, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: response = dataset_api.get_dag_dataset_queued_event(dag_id=dag_id, uri=uri) return [types.TextContent(type="text", text=str(response.to_dict()))]
- src/airflow/dataset.py:18-18 (registration)Tool registration entry in the get_all_functions() list, including the function reference, name, description, and read-only flag.(get_dag_dataset_queued_event, "get_dag_dataset_queued_event", "Get a queued Dataset event for a DAG", True),