MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / __instancecheck__

Method __instancecheck__

mcts_math/config.py:17–18  ·  view source on GitHub ↗
(cls, other)

Source from the content-addressed store, hash-verified

15 # https://github.com/facebookresearch/hydra/issues/1156
16 @classmethod
17 def __instancecheck__(cls, other):
18 return "enum" in str(type(other))
19
20
21class StrEnum(Enum, metaclass=StrEnumMeta):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected