Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test_this_in_container
Method · 0.85
Calls
3
Unicode
Class · 0.90
List
Class · 0.90
This
Class · 0.90
Tested by
1
test_this_in_container
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…