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

Function bool_flag

examples/argcomplete_app.py:122–123  ·  view source on GitHub ↗
(trait, value=True)

Source from the content-addressed store, hash-verified

120
121
122def bool_flag(trait, value=True):
123 return ({trait.this_class.__name__: {trait.name: value}}, trait.help)
124
125
126class ArgcompleteApp(Application):

Callers 1

ArgcompleteAppClass · 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…