MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / __call__

Method __call__

eval_code/recons/models/moge/utils/tools.py:268–274  ·  view source on GitHub ↗
(self, fn)

Source from the content-addressed store, hash-verified

266 self.filter_kwargs = kwargs
267
268 def __call__(self, fn):
269 @wraps(fn)
270 def wrapper(*args, **kwargs):
271 with warnings.catch_warnings():
272 warnings.simplefilter(self.action, **self.filter_kwargs)
273 return fn(*args, **kwargs)
274 return wrapper
275
276 def __enter__(self):
277 self.warnings_manager = warnings.catch_warnings()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected