Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ A
Class
A
tests/test_traitlets.py:1076–1077 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1074
pass
1075
1076
class
A(HasTraits):
1077
inst = Instance(Foo, allow_none=True)
1078
1079
a = A()
1080
self.assertTrue(a.inst is None)
Callers
nothing calls this directly
Calls
3
Instance
Class · 0.90
FooInstance
Class · 0.85
Foo
Class · 0.70
Tested by
no test coverage detected