minor change
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user