MCPcopy Create free account
hub / github.com/triton-inference-server/server / __init__

Method __init__

build.py:158–162  ·  view source on GitHub ↗
(self, filepath, desc=None, verbose=False)

Source from the content-addressed store, hash-verified

156 """Utility class for writing build scripts"""
157
158 def __init__(self, filepath, desc=None, verbose=False):
159 self._filepath = filepath
160 self._file = open(self._filepath, "w")
161 self._verbose = verbose
162 self.header(desc)
163
164 def __enter__(self):
165 return self

Callers

nothing calls this directly

Calls 1

headerMethod · 0.95

Tested by

no test coverage detected