mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-07-28 05:00:38 +03:00
refactor: add type hints to function signatures across multiple files
This commit is contained in:
@@ -15,7 +15,7 @@ def compile_sql_or_scalar(func):
|
||||
"""
|
||||
|
||||
@wraps(func)
|
||||
async def wrapper(cls, db_session, name, compile_sql=False, *args, **kwargs):
|
||||
async def wrapper(cls, db_session, name, compile_sql: bool=False, *args, **kwargs):
|
||||
"""
|
||||
Wrapper function that either compiles the SQL statement or executes it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user