Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-05 22:50:27 +07:00
parent b43f0a003f
commit 17b6e612c4
30 changed files with 1338 additions and 1212 deletions

View File

@@ -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): ...