stubs/sqlalchemy/ext/indexable.pyi (21 lines of code) (raw):
from typing import Any, Optional
from ..ext.hybrid import hybrid_property
class index_property(hybrid_property):
attr_name: str = ...
index: Any = ...
default: Any = ...
datatype: Any = ...
onebased: Any = ...
def __init__(
self,
attr_name,
index,
default: Any = ...,
datatype: Optional[Any] = ...,
mutable: bool = ...,
onebased: bool = ...,
) -> None: ...
def fget(self, instance): ...
def fset(self, instance, value): ...
def fdel(self, instance): ...
def expr(self, model): ...