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

Method _get_env_val

tools/python/maps_generator/generator/settings.py:70–71  ·  view source on GitHub ↗
(s: AnyStr, v: AnyStr)

Source from the content-addressed store, hash-verified

68
69 @staticmethod
70 def _get_env_val(s: AnyStr, v: AnyStr):
71 return os.environ.get(f"MM_GEN__{s.upper()}_{v.upper()}")
72
73
74DEFAULT_PLANET_URL = "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf"

Callers 1

get_optMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected