Skip to content

Commit abace03

Browse files
mehdigmiramgmira
andauthored
fix declarative_mixin stub (#232)
Co-authored-by: Mehdi Gmira <mgmira@wiremind.io>
1 parent 0a3284b commit abace03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy-stubs/orm/decl_api.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class _stateful_declared_attr(declared_attr):
4040
def __init__(self, **kw: Any) -> None: ...
4141
def __call__(self, fn: Any): ...
4242

43-
def declarative_mixin(cls: type) -> type: ...
43+
def declarative_mixin(cls: Type[_T]) -> Type[_T]: ...
4444
def declarative_base(
4545
bind: Optional[
4646
Any

0 commit comments

Comments
 (0)