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

Function update_planet

tools/python/airmaps/dags/update_planet.py:39–54  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

37
38
39def update_planet(**kwargs):
40 env = Env()
41 kwargs["ti"].xcom_push(key="build_name", value=env.build_name)
42
43 if settings.DEBUG:
44 env.add_skipped_stage(sd.StageUpdatePlanet)
45
46 run_generation(
47 env,
48 (
49 sd.StageDownloadAndConvertPlanet(),
50 sd.StageUpdatePlanet(),
51 sd.StageCleanup(),
52 ),
53 )
54 env.finish()
55
56
57def publish_planet(**kwargs):

Callers

nothing calls this directly

Calls 4

add_skipped_stageMethod · 0.95
finishMethod · 0.95
EnvClass · 0.90
run_generationFunction · 0.90

Tested by

no test coverage detected