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
|
engine: Engine
|
||||||
NotFound = NotFoundError
|
NotFound = NotFoundError
|
||||||
|
|
||||||
def __init__(self, base: DeclarativeBase):
|
def __init__(self, model_class: DeclarativeBase):
|
||||||
self.base = base
|
self.base = model_class
|
||||||
self.engine = None
|
self.engine = None
|
||||||
def bind(self, url: str):
|
def bind(self, url: str):
|
||||||
self.engine = create_async_engine(url)
|
self.engine = create_async_engine(url)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue