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

Class MyConf

tests/config/test_configurable.py:196–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195 def test_generated_config_enum_comments(self):
196 class MyConf(Configurable):
197 an_enum = Enum("Choice1 choice2".split(), help="Many choices.").tag(config=True)
198
199 help_str = "Many choices."
200 enum_choices_str = "Choices: any of ['Choice1', 'choice2']"

Callers

nothing calls this directly

Calls 2

EnumClass · 0.90
tagMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…