MCPcopy Create free account
hub / github.com/InternScience/SciReason / _inner_call_method

Function _inner_call_method

opencompass/datasets/apps.py:789–795  ·  view source on GitHub ↗
(_method)

Source from the content-addressed store, hash-verified

787 @patch('sys.stdin.read', lambda *args: inputs)
788 # @patch('sys.stdout.write', print)
789 def _inner_call_method(_method):
790 try:
791 return _method()
792 except SystemExit:
793 pass
794 finally:
795 pass
796
797 return _inner_call_method(method)
798

Callers 1

call_methodFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected