mirror of
https://github.com/trushildhokiya/allininx-2.git
synced 2025-03-15 19:08:39 +00:00
11 lines
208 B
Python
11 lines
208 B
Python
|
from typing import TypeVar
|
||
|
|
||
|
from sqlalchemy.ext.asyncio import AsyncSession
|
||
|
|
||
|
T = TypeVar("T", bound="BaseCrud")
|
||
|
|
||
|
|
||
|
class BaseCrud:
|
||
|
def __init__(self, session: AsyncSession):
|
||
|
self.session = session
|