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

Class MyConf4

tests/config/test_configurable.py:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 self.assertGreater(cls3_cfg.index(defaults_str), cls3_cfg.index(enum_choices_str))
284
285 class MyConf4(Configurable):
286 an_enum = FuzzyEnum(
287 "Choice1 choice2".split(),
288 allow_none=True,
289 default_value="choice2",
290 help="Many choices.",
291 ).tag(config=True)
292
293 enum_choices_str = "Choices: any case-insensitive prefix of ['Choice1', 'choice2']"
294

Callers

nothing calls this directly

Calls 2

FuzzyEnumClass · 0.90
tagMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…