MCPcopy Create free account
hub / github.com/apache/tvm-ffi / __init__

Method __init__

tests/python/test_dataclass_py_class.py:5040–5042  ·  view source on GitHub ↗
(self, x: int, y: str)

Source from the content-addressed store, hash-verified

5038 y: str
5039
5040 def __init__(self, x: int, y: str) -> None:
5041 super().__init__(x)
5042 self.y = y
5043
5044 obj = C(10, "world")
5045 assert obj.x == 10

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected