isort + black

This commit is contained in:
Trinh Anh Ngoc
2023-05-18 21:36:12 +07:00
parent ea2b8bf249
commit f7cd5b8c90
59 changed files with 1573 additions and 490 deletions

View File

@@ -1,7 +1,7 @@
from json import JSONEncoder as JSONEncoder
from typing import Callable, Generic, TypeVar
_T = TypeVar('_T')
_T = TypeVar("_T")
class lazy_property(Generic[_T]):
fget: Callable[..., _T]
@@ -26,7 +26,7 @@ class _ClassProperty(property, Generic[_T]):
def classproperty(func: Callable[..., _T]) -> _ClassProperty[_T]: ...
class lazy:
__slots__ = ['_func', '_args', '_kwargs', '_cached_value']
__slots__ = ["_func", "_args", "_kwargs", "_cached_value"]
def __init__(self, func, *args, **kwargs) -> None: ...
@property
def _value(self): ...