MCPcopy Create free account
hub / github.com/modelscope/modelscope / __call__

Method __call__

modelscope/utils/regress_test_utils.py:797–802  ·  view source on GitHub ↗
(self, v1output, v2output, key, type)

Source from the content-addressed store, hash-verified

795 self.keys = keys if isinstance(keys, list) else []
796
797 def __call__(self, v1output, v2output, key, type):
798 for _key in self.keys:
799 pattern = re.compile(_key)
800 if key is not None and pattern.fullmatch(key):
801 return True
802 return None

Callers

nothing calls this directly

Calls 1

compileMethod · 0.45

Tested by

no test coverage detected