MCPcopy Create free account
hub / github.com/comaps/comaps / make_mwm_operator

Method make_mwm_operator

tools/python/airmaps/dags/build_maps.py:121–128  ·  view source on GitHub ↗
(self, country)

Source from the content-addressed store, hash-verified

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
131PARAMS = {"storage": {"subdir": "open_source"}}

Callers 1

__init__Method · 0.95

Calls 2

make_build_mwm_funcMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected