typo
This commit is contained in:
parent
8a209a729c
commit
9286a01de0
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ class SQLAlchemy:
|
|||
engine: Engine
|
||||
NotFound = NotFoundError
|
||||
|
||||
def __init__(self, base: DeclarativeBase):
|
||||
self.base = base
|
||||
def __init__(self, model_class: DeclarativeBase):
|
||||
self.base = model_class
|
||||
self.engine = None
|
||||
def bind(self, url: str):
|
||||
self.engine = create_async_engine(url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue