minor change
Some checks failed
Build Docs / changes (push) Failing after 2s
Build Docs / build-docs (push) Has been skipped
Build Docs / deploy-docs (push) Has been skipped

This commit is contained in:
Alexander Kalinovsky
2025-05-04 01:00:23 +07:00
parent 90652b9f3f
commit 094c36f61b

View File

@@ -245,7 +245,7 @@ class BotEntity[CreateSchemaType: BaseModel, UpdateSchemaType: BaseModel](
@classmethod @classmethod
@session_dep @session_dep
async def get(cls, *, session: AsyncSession | None = None, id: int): async def get(cls, *, session: AsyncSession | None = None, id: int):
return await session.get(cls, id, populate_existing=True) return await session.get(cls, id)
@classmethod @classmethod
def _static_filter_condition( def _static_filter_condition(