minor change
This commit is contained in:
1 parent
90652b9f3f
commit
094c36f61b
1 file changed
+1
-1
@@ -245,7 +245,7 @@ class BotEntity[CreateSchemaType: BaseModel, UpdateSchemaType: BaseModel](
|
||||
@classmethod
|
||||
@session_dep
|
||||
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
|
||||
def _static_filter_condition(
|
||||
|
||||
Reference in new issue
Block a user