MCPcopy
hub / github.com/ModelEngine-Group/nexent / _matches

Method _matches

test/backend/database/test_a2a_agent_db.py:362–366  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

360
361 def filter_by(self, **kw):
362 def _matches(obj):
363 for k, v in kw.items():
364 if not (hasattr(obj, k) and getattr(obj, k) == v):
365 return False
366 return True
367 self._results = [r for r in self._results if _matches(r)]
368 return self
369

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected