MCPcopy Create free account
hub / github.com/data-apis/python-record-api / setup

Function setup

record_api/core.py:595–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

593
594
595def setup():
596 global write_line, context_manager
597 FILE_NAME = os.environ["PYTHON_RECORD_API_OUTPUT_FILE"]
598 context_manager = jsonl.write(FILE_NAME, default=default)
599 write_line = context_manager.__enter__()
600
601
602def finalize():

Callers 2

__main__.pyFile · 0.70
pytest_sessionstartFunction · 0.70

Calls 1

__enter__Method · 0.80

Tested by 1

pytest_sessionstartFunction · 0.56