MCPcopy
hub / github.com/openai/evals / __call__

Method __call__

evals/utils/snowflake.py:97–102  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

95
96 @contextmanager
97 def __call__(self, *args, **kwargs):
98 cs = self.cursor(*args, **kwargs)
99 try:
100 yield cs
101 finally:
102 cs.close()
103
104 def query(self, *args, many=False, pandas_out=False, list_out=False, **kwargs):
105 with self() as cs:

Callers

nothing calls this directly

Calls 2

cursorMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected