Conditions | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """The central module to create low flex scenarios |
||
15 | def __init__(self, dependencies): |
||
16 | super().__init__( |
||
17 | name="low_flex_scenario", |
||
18 | version="0.0.0", |
||
19 | dependencies=dependencies, |
||
20 | tasks=( |
||
21 | { |
||
22 | PostgresOperator( |
||
23 | task_id="low_flex_eGon2035", |
||
24 | sql=resources.read_text( |
||
25 | __name__, "low_flex_eGon2035.sql" |
||
26 | ), |
||
27 | postgres_conn_id="egon_data", |
||
28 | autocommit=True, |
||
29 | ), |
||
33 |