MCPcopy Create free account
hub / github.com/python-visualization/folium / recursive_get

Method recursive_get

folium/features.py:1069–1073  ·  view source on GitHub ↗
(data, keys)

Source from the content-addressed store, hash-verified

1067 """Applies self.style_function to each feature of self.data."""
1068
1069 def recursive_get(data, keys):
1070 if len(keys):
1071 return recursive_get(data.get(keys[0]), keys[1:])
1072 else:
1073 return data
1074
1075 geometries = recursive_get(self.data, self.object_path.split("."))[
1076 "geometries"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected