1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
from typing import Any
from ..orm import interfaces
HYBRID_METHOD: Any
HYBRID_PROPERTY: Any
class hybrid_method(interfaces.InspectionAttrInfo):
is_attribute: bool
extension_type: Any
func: Any
def __init__(self, func, expr: Any | None = ...) -> None: ...
def __get__(self, instance, owner): ...
expr: Any
def expression(self, expr): ...
class hybrid_property(interfaces.InspectionAttrInfo):
is_attribute: bool
extension_type: Any
fget: Any
fset: Any
fdel: Any
expr: Any
custom_comparator: Any
update_expr: Any
def __init__(
self,
fget,
fset: Any | None = ...,
fdel: Any | None = ...,
expr: Any | None = ...,
custom_comparator: Any | None = ...,
update_expr: Any | None = ...,
) -> None: ...
def __get__(self, instance, owner): ...
def __set__(self, instance, value) -> None: ...
def __delete__(self, instance) -> None: ...
@property
def overrides(self): ...
def getter(self, fget): ...
def setter(self, fset): ...
def deleter(self, fdel): ...
def expression(self, expr): ...
def comparator(self, comparator): ...
def update_expression(self, meth): ...
class Comparator(interfaces.PropComparator[Any]):
property: Any
expression: Any
def __init__(self, expression) -> None: ...
def __clause_element__(self): ...
def adapt_to_entity(self, adapt_to_entity): ...
_property = property
class ExprComparator(Comparator):
cls: Any
expression: Any
hybrid: Any
def __init__(self, cls, expression, hybrid) -> None: ...
def __getattr__(self, key): ...
@_property
def info(self): ...
@_property
def property(self): ...
def operate(self, op, *other, **kwargs): ...
def reverse_operate(self, op, other, **kwargs): ...
|