minor change
This commit is contained in:
@@ -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