INNER CODE UNIT · Python
add_all
c0sogi/LLMChat · app/database/schemas/__init__.py:43
async def add_all(
cls: Type[TableGeneric],
*args: dict,
autocommit: bool = False,
refresh: bool = False,
session: AsyncSession | None = None,
) -> list[TableGeneric]:
return await db.add_all(
cls,
*args,
autocommit=autocommit,
refresh=refresh,
session=session,
)
@classmethod
async def add_one(
cls: Type[TableGeneric],