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

Class Tree

tests/test_traitlets.py:1228–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1226
1227 def test_this_in_container(self):
1228 class Tree(HasTraits):
1229 value = Unicode()
1230 leaves = List(This())
1231
1232 tree = Tree(value="foo", leaves=[Tree(value="bar"), Tree(value="buzz")])
1233

Callers 1

Calls 3

UnicodeClass · 0.90
ListClass · 0.90
ThisClass · 0.90

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…