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

Class MyConf3

tests/config/test_configurable.py:257–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 or_none_str = "or None"
256
257 class MyConf3(Configurable):
258 an_enum = CaselessStrEnum(
259 "Choice1 choice2".split(),
260 allow_none=True,
261 default_value="choice2",
262 help="Many choices.",
263 ).tag(config=True)
264
265 enum_choices_str = "Choices: any of ['Choice1', 'choice2'] (case-insensitive)"
266

Callers

nothing calls this directly

Calls 2

CaselessStrEnumClass · 0.90
tagMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…