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

Class Example

tests/test_traitlets_enum.py:45–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 # pylint: disable=invalid-name
44
45 class Example(HasTraits):
46 color = UseEnum(Color, help="Color enum")
47
48 def test_assign_enum_value(self):
49 example = self.Example()

Callers

nothing calls this directly

Calls 4

UseEnumClass · 0.90
EnumClass · 0.90
CaselessStrEnumClass · 0.90
FuzzyEnumClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…