Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ Foo
Class
Foo
tests/utils/test_decorators.py:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
def
test_no_init(self):
12
@signature_has_traits
13
class
Foo(HasTraits):
14
number1 = Int()
15
number2 = Int()
16
value = Unicode(
"Hello"
)
17
18
parameters = signature(Foo).parameters
19
parameter_names = list(parameters)
Callers
4
test_no_init
Method · 0.70
test_partial_init
Method · 0.70
test_duplicate_init
Method · 0.70
test_full_init
Method · 0.70
Calls
2
Int
Class · 0.90
Unicode
Class · 0.90
Tested by
4
test_no_init
Method · 0.56
test_partial_init
Method · 0.56
test_duplicate_init
Method · 0.56
test_full_init
Method · 0.56