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

Class Bar

tests/config/test_configurable.py:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68class Bar(Foo):
69 b = Unicode("gotit", help="The string b.").tag(config=False)
70 c = Float(help="The string c.").tag(config=True)
71 bset = Set([]).tag(config=True, multiplicity="+")
72 bset_values = Set([2, 1, 5]).tag(config=True, multiplicity="+")
73 bdict = Dict().tag(config=True, multiplicity="+")
74 bdict_values = Dict({1: "a", "0": "b", 5: "c"}).tag(config=True, multiplicity="+")
75
76
77foo_help = """Foo(Configurable) options

Callers 2

test_parentMethod · 0.70
test_override2Method · 0.70

Calls 5

UnicodeClass · 0.90
FloatClass · 0.90
SetClass · 0.90
DictClass · 0.90
tagMethod · 0.80

Tested by 2

test_parentMethod · 0.56
test_override2Method · 0.56