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

Class Status

tests/python/test_dataclass_enum.py:258–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256
257def test_plain_enum_does_not_create_value_entries_typeattr() -> None:
258 class Status(Enum, type_key=_unique_key("PlainEnumNoValue")):
259 ok: ClassVar[Status] = auto()
260
261 type_info = Status.__tvm_ffi_type_info__ # ty: ignore[unresolved-attribute]
262 value_entries = core._lookup_type_attr(type_info.type_index, ENUM_VALUE_ENTRIES_ATTR)

Callers

nothing calls this directly

Calls 2

autoFunction · 0.90
_unique_keyFunction · 0.70

Tested by

no test coverage detected