From db446dc93d7b5efb3ba60ab76a3fabfe0bce6cd6 Mon Sep 17 00:00:00 2001 From: Aurthur Musendame Date: Tue, 30 Jan 2024 16:49:48 +0200 Subject: [PATCH] Added optional typing to select_async to fix -> (default has type 'None', argument has type 'str') --- sqlalchemy_mixins/activerecordasync.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlalchemy_mixins/activerecordasync.pyi b/sqlalchemy_mixins/activerecordasync.pyi index 8517342..de80ce2 100644 --- a/sqlalchemy_mixins/activerecordasync.pyi +++ b/sqlalchemy_mixins/activerecordasync.pyi @@ -37,7 +37,7 @@ class ActiveRecordMixinAsync(InspectionMixin, SessionMixin): @classmethod async def select_async(cls, - stmt:str=None, + stmt:Optional[str] = None, filters: Optional[Dict[str, Any]] = None, sort_attrs: Optional[Iterable[str]] = None, schema: Optional[dict] = None