| Conditions | 1 |
| Total Lines | 15 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """The central module to create low flex scenarios |
||
| 31 | def __init__(self, dependencies): |
||
| 32 | ensure_postgres_connection() |
||
| 33 | super().__init__( |
||
| 34 | name="low_flex_scenario", |
||
| 35 | version="0.0.1", |
||
| 36 | dependencies=dependencies, |
||
| 37 | tasks=( |
||
| 38 | { |
||
| 39 | PostgresOperator( |
||
| 40 | task_id="low_flex_eGon2035", |
||
| 41 | sql=files(__name__) |
||
| 42 | .joinpath("low_flex_eGon2035.sql") |
||
| 43 | .read_text(encoding="utf-8"), |
||
| 44 | postgres_conn_id="egon_data", |
||
| 45 | autocommit=True, |
||
| 46 | ), |
||
| 50 |