From a1cfba54e54d5c2587a6bb0c42f4b8c75e3313f7 Mon Sep 17 00:00:00 2001 From: darksidecat <58224121+darksidecat@users.noreply.github.com> Date: Sat, 21 Aug 2021 21:21:20 +0300 Subject: [PATCH] add docstring --- aiogram/types/update.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiogram/types/update.py b/aiogram/types/update.py index b284f0f7..0fed38b6 100644 --- a/aiogram/types/update.py +++ b/aiogram/types/update.py @@ -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