Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates Apache Airflow DAGs orchestrating construction ETL, data validation, and reporting pipelines from BIM extraction to cost reports.
35% 96%+61 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 8 of 23 without it.
When checking ConstructionDAGBuilder.DEFAULT_ARGS, what value is set for the retries configuration key?
Specifies retries equal to 2 in DEFAULT_ARGS.
3 of 3 safety checks passed
Apache Airflow orchestrates complex data pipelines. This skill creates DAGs for construction ETL processes - from BIM extraction to cost reports.
from datetime import datetime, timedelta
from typing import Dict, Any, List, Optional, Callable
from dataclasses import dataclass
from enum import Enum
import json
class TaskStatus(Enum):
"""Task execution status."""
PENDING = "pending"
RUNNING = "running"
SUCCESS = "success"
FAILED = "failed"
SKIPPED = "skipped"
@dataclass
class DAGTask:
"""Single task in DAG."""
task_id: str
operator: str
params: Dict[str, Any]
upstream: List[str]
downstream: List[str]
@dataclass
class DAGConfig:
"""DAG configuration."""
dag_id: str
schedule: str
start_date: datetime
Next to this one in the catalogue, plus more from the same author.