aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-03-28 17:28:22 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-03-28 17:37:38 +0300
commit73c78e63703013863db96d6dc42db94dcb6cbb16 (patch)
tree3f54d435f34a4f82edafcdb8e3e3798e182dc280 /library/python
parent23e15f39ac8b7c106f70a921fcaa95f60c65162a (diff)
downloadydb-73c78e63703013863db96d6dc42db94dcb6cbb16.tar.gz
Intermediate changes
Diffstat (limited to 'library/python')
-rw-r--r--library/python/func/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/python/func/__init__.py b/library/python/func/__init__.py
index 15f2137f1d..5eda75267a 100644
--- a/library/python/func/__init__.py
+++ b/library/python/func/__init__.py
@@ -25,7 +25,7 @@ def lazy(func):
lock = threading.Lock()
@functools.wraps(func)
- def wrapper(*args):
+ def wrapper(*args, **kwargs):
try:
return result.result
except AttributeError:
@@ -33,7 +33,7 @@ def lazy(func):
try:
return result.result
except AttributeError:
- result.result = func(*args)
+ result.result = func(*args, **kwargs)
return result.result