Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ __post_init__
Method
__post_init__
tests/python/test_dataclass_py_class.py:543–545 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
541
x: int
542
543
def
__post_init__(self) -> None:
544
nonlocal post_init_called
545
post_init_called = True
546
547
PostInit(x=1)
548
assert post_init_called
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected