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

Class Bar

tests/config/test_application.py:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class Bar(Configurable):
48 b = Integer(0, help="The integer b.").tag(config=True)
49 enabled = Bool(True, help="Enable bar.").tag(config=True)
50 tb = Tuple(()).tag(config=True, multiplicity="*")
51 aset = Set().tag(config=True, multiplicity="+")
52 bdict = Dict().tag(config=True)
53 idict = Dict(value_trait=Integer()).tag(config=True)
54 key_dict = Dict(per_key_traits={"i": Integer(), "b": Bytes()}).tag(config=True)
55
56
57class MyApp(Application):

Callers 2

init_barMethod · 0.70
initializeMethod · 0.70

Calls 6

BoolClass · 0.90
TupleClass · 0.90
SetClass · 0.90
DictClass · 0.90
BytesClass · 0.90
tagMethod · 0.80

Tested by 2

init_barMethod · 0.56
initializeMethod · 0.56