diff --git a/odoo-stubs/tools/func.pyi b/odoo-stubs/tools/func.pyi index b59c017..a6c95a2 100644 --- a/odoo-stubs/tools/func.pyi +++ b/odoo-stubs/tools/func.pyi @@ -16,8 +16,8 @@ class lazy_classproperty(lazy_property[_T]): def __get__(self, obj, cls) -> _T: ... def conditional(condition, decorator): ... -def synchronized(lock_attr: str = ...): ... -def frame_codeinfo(fframe, back: int = ...): ... +def synchronized(lock_attr: str = ...) -> Callable[[_T], _T]: ... +def frame_codeinfo(fframe, back: int = ...) -> tuple[str | None, str | None]: ... def compose(a: Callable[..., _T], b: Callable) -> Callable[..., _T]: ... class _ClassProperty(property, Generic[_T]):