We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5263d3c commit c443924Copy full SHA for c443924
sqlalchemy-stubs/orm/mapper.pyi
@@ -1,4 +1,4 @@
1
-from typing import Any, Optional
+from typing import Any, Optional, Callable
2
from .interfaces import InspectionAttr
3
from .base import class_mapper as class_mapper
4
@@ -94,7 +94,7 @@ class Mapper(InspectionAttr):
94
95
def configure_mappers(): ...
96
def reconstructor(fn): ...
97
-def validates(*names, **kw): ...
+def validates(*names, **kw) -> Callable[..., Any]: ...
98
99
class _ColumnMapping(dict):
100
mapper: Any = ...
0 commit comments