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

Method __get__

python/tvm_ffi/dataclasses/enum.py:209–211  ·  view source on GitHub ↗
(self, instance: Any, owner: type | None = None)

Source from the content-addressed store, hash-verified

207 self._fget = fget
208
209 def __get__(self, instance: Any, owner: type | None = None) -> Any:
210 cls = owner if owner is not None else type(instance)
211 return self._fget(cls)
212
213
214def _install_payload_enum_behaviors(cls: type, *, user_defined_repr: bool) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected