MCPcopy Create free account
hub / github.com/binance/binance-connector-python / clean_none_value

Function clean_none_value

common/src/binance_common/utils.py:83–113  ·  view source on GitHub ↗

Removes any `None` values from the input dictionary `d` and returns a new dictionary with only non-`None` values. Args: d (dict): The input dictionary to clean. Returns: dict: A new dictionary with only non-`None` values from the input dictionary.

(d: dict)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

test_all_none_valuesMethod · 0.90
test_no_none_valuesMethod · 0.90
test_empty_dictionaryMethod · 0.90
test_mixed_typesMethod · 0.90
web3_signatureFunction · 0.85
send_requestFunction · 0.85

Calls

no outgoing calls