Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ Bar
Class
Bar
tests/python/test_dataclass_py_class.py:899–901 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
897
898
@py_class(_unique_key(
"Bar"
))
899
class
Bar(Object):
900
value: int
901
foo: Foo | None
902
903
bar = Bar(value=2, foo=None)
904
foo = Foo(value=1, bar=bar)
Callers
4
test_mutual_reference
Method · 0.85
test_mutual_references
Method · 0.85
test_self_referential_field
Method · 0.85
test_typed_mutual_ref_rejects_wrong_type
Method · 0.85
Calls
no outgoing calls
Tested by
4
test_mutual_reference
Method · 0.68
test_mutual_references
Method · 0.68
test_self_referential_field
Method · 0.68
test_typed_mutual_ref_rejects_wrong_type
Method · 0.68