Skip to content

Commit bc6b32f

Browse files
committed
Fix lru_cache/memoized decorator for Python 3.7
1 parent 9f58ead commit bc6b32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grafana_client/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def connect(self):
7676
return grafana_info
7777

7878
@property
79-
@memoized
79+
@memoized(maxsize=1)
8080
def version(self):
8181
grafana_info = self.health.check()
8282
version = grafana_info["version"]

0 commit comments

Comments
 (0)