Files
odoo-stubs/odoo-stubs/tools/func.pyi
Trinh Anh Ngoc 9f1f171be8 Update stubs
2023-05-11 14:00:32 +07:00

22 lines
502 B
Python

from typing import Any
class lazy_property:
fget: Any
def __init__(self, fget) -> None: ...
def __get__(self, obj, cls): ...
@property
def __doc__(self): ...
@staticmethod
def reset_all(obj) -> None: ...
class lazy_classproperty(lazy_property):
def __get__(self, obj, cls): ...
def conditional(condition, decorator): ...
def synchronized(lock_attr: str = ...): ...
class _ClassProperty(property):
def __get__(self, cls, owner): ...
def classproperty(func): ...