mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
from json import JSONEncoder as JSONEncoder
|
||||
from typing import Any
|
||||
|
||||
__all__: Any
|
||||
from typing import Any, Callable
|
||||
|
||||
class lazy_property:
|
||||
fget: Any
|
||||
@@ -18,7 +16,7 @@ class lazy_classproperty(lazy_property):
|
||||
def conditional(condition, decorator): ...
|
||||
def synchronized(lock_attr: str = ...): ...
|
||||
def frame_codeinfo(fframe, back: int = ...): ...
|
||||
def compose(a, b): ...
|
||||
def compose(a: Callable, b: Callable): ...
|
||||
|
||||
class _ClassProperty(property):
|
||||
def __get__(self, cls, owner): ...
|
||||
@@ -26,7 +24,7 @@ class _ClassProperty(property):
|
||||
def classproperty(func): ...
|
||||
|
||||
class lazy:
|
||||
__slots__: Any
|
||||
__slots__ = ['_func', '_args', '_kwargs', '_cached_value']
|
||||
def __init__(self, func, *args, **kwargs) -> None: ...
|
||||
@property
|
||||
def _value(self): ...
|
||||
|
||||
Reference in New Issue
Block a user