Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ C
Class
C
tests/python/test_dataclass_py_class.py:3108–3110 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3106
3107
@py_class(_unique_key(
"OffDecC"
))
3108
class
C(P):
3109
a: int = 0
3110
b: int = 0
3111
3112
obj = C(x=10, y=20, a=30, b=40)
3113
assert obj.x == 10
Callers
8
test_three_level_inheritance
Method · 0.70
test_three_level_mutation_no_aliasing
Method · 0.70
test_three_level_isinstance
Method · 0.70
test_three_level_deep_copy
Method · 0.70
test_empty_intermediate_parent_offsets
Method · 0.70
test_empty_intermediate_mutation_no_aliasing
Method · 0.70
test_empty_intermediate_py_class_decorator
Method · 0.70
test_super_init_intermediate_custom_init
Method · 0.70
Calls
no outgoing calls
Tested by
8
test_three_level_inheritance
Method · 0.56
test_three_level_mutation_no_aliasing
Method · 0.56
test_three_level_isinstance
Method · 0.56
test_three_level_deep_copy
Method · 0.56
test_empty_intermediate_parent_offsets
Method · 0.56
test_empty_intermediate_mutation_no_aliasing
Method · 0.56
test_empty_intermediate_py_class_decorator
Method · 0.56
test_super_init_intermediate_custom_init
Method · 0.56