MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / operation

Method operation

trinity/buffer/storage/sql.py:355–357  ·  view source on GitHub ↗
(session: AsyncSession)

Source from the content-addressed store, hash-verified

353 await self.prepare()
354
355 async def operation(session: AsyncSession):
356 tasks = [self.table_model_cls.from_dict(item) for item in data]
357 session.add_all(tasks)
358
359 await async_run_with_retry_session(
360 self.session, operation, self.max_retry_times, self.max_retry_interval

Callers

nothing calls this directly

Calls 2

from_dictMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected