From 83442992a35644fbde4510bba29a8173a75300f2 Mon Sep 17 00:00:00 2001 From: Bob Hogg Date: Fri, 8 Mar 2024 15:39:05 +0000 Subject: [PATCH] docs: Tell users of utils.wrapping to use functools.wraps --- google/cloud/ndb/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/google/cloud/ndb/utils.py b/google/cloud/ndb/utils.py index 39ceb4e0..a4245320 100644 --- a/google/cloud/ndb/utils.py +++ b/google/cloud/ndb/utils.py @@ -162,4 +162,5 @@ def tweak_logging(*args, **kwargs): def wrapping(*args, **kwargs): + """Use functools.wraps instead""" raise NotImplementedError