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

Method __init__

test/backend/database/test_a2a_agent_db.py:106–110  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

104 _seq = 0
105
106 def __init__(self, **kwargs):
107 MockOrmObject._seq += 1
108 object.__setattr__(self, 'id', kwargs.pop('id', MockOrmObject._seq))
109 for k, v in kwargs.items():
110 object.__setattr__(self, k, v)
111
112
113def _make_cls(name, col_names, bases=(MockOrmObject,)):

Callers

nothing calls this directly

Calls 2

itemsMethod · 0.80
__setattr__Method · 0.45

Tested by

no test coverage detected