MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __enter__

Method __enter__

eval_heldout/rewoo/alpaca/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 3

setupMethod · 0.45
is_expiredFunction · 0.45
renew_combFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected