mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
add docstring
This commit is contained in:
parent
be2a681889
commit
a1cfba54e5
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ T = TypeVar("T")
|
|||
|
||||
|
||||
def lru_cache(func: Callable[..., T]) -> T:
|
||||
"""fix lru_cache annotation doesn't work with a property"""
|
||||
return functools.lru_cache()(func) # type: ignore
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue