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

Function remove_empty

folium/utilities.py:415–417  ·  view source on GitHub ↗

Return a dict without None values.

(**kwargs: TypeJsonValue)

Source from the content-addressed store, hash-verified

413
414
415def remove_empty(**kwargs: TypeJsonValue) -> Dict[str, TypeJsonValueNoNone]:
416 """Return a dict without None values."""
417 return {key: value for key, value in kwargs.items() if value is not None}
418
419
420def escape_backticks(text: str) -> str:

Callers 15

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected