MCPcopy Create free account
hub / github.com/ipython/traitlets / interesting_default_value

Function interesting_default_value

traitlets/config/sphinxdoc.py:56–61  ·  view source on GitHub ↗
(dv: t.Any)

Source from the content-addressed store, hash-verified

54
55
56def interesting_default_value(dv: t.Any) -> bool:
57 if (dv is None) or (dv is Undefined):
58 return False
59 if isinstance(dv, (str, list, tuple, dict, set)):
60 return bool(dv)
61 return True
62
63
64def format_aliases(aliases: list[str]) -> str:

Callers 1

class_config_rst_docFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…