Skip to content

Commit 3939c85

Browse files
authored
Update spec of sqlalchemy.ext.hybrid.hybrid_property (#142)
1 parent 1ccefb8 commit 3939c85

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

sqlalchemy-stubs/ext/hybrid.pyi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,28 @@ class hybrid_property(interfaces.InspectionAttrInfo):
1919
fget: Any = ...
2020
fset: Any = ...
2121
fdel: Any = ...
22+
custom_comparator: Any = ...
23+
update_expr: Any = ...
2224
def __init__(self, fget, fset: Optional[Any] = ..., fdel: Optional[Any] = ...,
23-
expr: Optional[Any] = ...) -> None: ...
25+
expr: Optional[Any] = ..., custom_comparator: Optional[Any] = ...,
26+
update_expr: Optional[Any] = ...) -> None: ...
2427
def __get__(self, instance, owner): ...
2528
def __set__(self, instance, value): ...
2629
def __delete__(self, instance): ...
30+
def getter(self, fget): ...
2731
def setter(self, fset): ...
2832
def deleter(self, fdel): ...
2933
expr: Any = ...
3034
def expression(self, expr): ...
3135
def comparator(self, comparator): ...
36+
def update_expression(self, meth): ...
37+
def _copy(self, **kw): ...
38+
def _expr_comparator(self): ...
39+
def _get_expr(self, expr): ...
40+
def _get_comparator(self, comparator): ...
41+
@property
42+
def overrides(self): ...
43+
3244

3345
class Comparator(interfaces.PropComparator):
3446
property: Any = ...

0 commit comments

Comments
 (0)