MCPcopy
hub / github.com/python-visualization/folium / parse_options

Function parse_options

folium/utilities.py:410–412  ·  view source on GitHub ↗

Return a dict with lower-camelcase keys and non-None values..

(**kwargs: TypeJsonValue)

Source from the content-addressed store, hash-verified

408
409
410def parse_options(**kwargs: TypeJsonValue) -> Dict[str, TypeJsonValueNoNone]:
411 """Return a dict with lower-camelcase keys and non-None values.."""
412 return {camelize(key): value for key, value in kwargs.items() if value is not None}
413
414
415def remove_empty(**kwargs: TypeJsonValue) -> Dict[str, TypeJsonValueNoNone]:

Callers 4

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
test_parse_optionsFunction · 0.90

Calls 1

camelizeFunction · 0.85

Tested by 1

test_parse_optionsFunction · 0.72