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

Class Tokens

tests/python/test_dataclass_enum.py:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149def test_str_enum_payload_value() -> None:
150 class Tokens(StrEnum, type_key=_unique_key("StrEnum")):
151 add = entry(value="+")
152 mul = entry(value="*")
153
154 assert Tokens.add.value == "+"
155 assert Tokens.mul.value == "*"

Callers

nothing calls this directly

Calls 2

entryFunction · 0.90
_unique_keyFunction · 0.70

Tested by

no test coverage detected