(self, country)
| 119 | storage.wd_publish(env.paths.mwm_path, f"{storage_path}/{env.mwm_version}/") |
| 120 | |
| 121 | def make_mwm_operator(self, country): |
| 122 | normalized_name = "__".join(country.lower().split()) |
| 123 | return PythonOperator( |
| 124 | task_id=f"Build_country_{normalized_name}_task", |
| 125 | provide_context=True, |
| 126 | python_callable=MapsGenerationDAG.make_build_mwm_func(country), |
| 127 | dag=self, |
| 128 | ) |
| 129 | |
| 130 | |
| 131 | PARAMS = {"storage": {"subdir": "open_source"}} |
no test coverage detected