MCPcopy Create free account
hub / github.com/catboost/catboost / init

Function init

library/python/import_tracing/constructor/__init__.py:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def init():
5 if "Y_PYTHON_TRACE_FILE" in os.environ:
6 import atexit
7 import library.python.import_tracing.lib.regulator as regulator
8
9 regulator.enable(os.getenv("Y_PYTHON_TRACE_FILE"))
10 atexit.register(regulator.disable)

Callers 2

TMappedFileMethod · 0.50
TMappedFileMethod · 0.50

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected