class documentation

class classproperty(property): (source)

View In Hierarchy

A decorator that behaves like @property except that operates on classes rather than instances. The decorator is currently special when using the declarative module, but note that the :class:`~.sqlalchemy.ext.declarative.declared_attr` decorator should be used for this purpose with declarative.

Method __get__ Undocumented
Method __init__ Undocumented
Class Variable fget Undocumented
def __get__(self, obj: Any, cls: Optional[type] = None) -> Any: (source)

Undocumented

def __init__(self, fget: Callable[[Any], Any], *arg: Any, **kw: Any): (source)

Undocumented

Undocumented