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

Method first

test/backend/database/test_token_db.py:183–187  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 return self
182
183 def first(self):
184 # Simple implementation - return first matching instance
185 if not self._instances:
186 return None
187 return self._instances[0] if self._instances else None
188
189 def all(self):
190 return list(self._instances)

Calls

no outgoing calls

Tested by

no test coverage detected