MCPcopy Index your code
hub / github.com/SooLab/CGFormer / _missing_

Method _missing_

bert/tokenization_utils_base.py:79–83  ·  view source on GitHub ↗
(cls, value)

Source from the content-addressed store, hash-verified

77
78 @classmethod
79 def _missing_(cls, value):
80 raise ValueError(
81 "%r is not a valid %s, please select one of %s"
82 % (value, cls.__name__, str(list(cls._value2member_map_.keys())))
83 )
84
85
86class TruncationStrategy(ExplicitEnum):

Callers

nothing calls this directly

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected