MCPcopy Create free account
hub / github.com/FreedomIntelligence/GrammarGPT / __enter__

Method __enter__

utils/callbacks.py:71–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return obj
70
71 def __enter__(self):
72 return self
73
74 def __exit__(self, exc_type, exc_val, exc_tb):
75 self.stop_now = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected