summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-12-28 14:48:21 +0100
committerGitHub <noreply@github.com>2022-12-28 13:48:21 +0000
commit3854d0f94947ddd5a9ee98198af8d7ae839962c9 (patch)
treeeac4ce72ec73a1cd8e3ff1b96fd1c6fe17643230 /changelog.d
parentAdd missing type hints to tests. (#14687) (diff)
downloadsynapse-3854d0f94947ddd5a9ee98198af8d7ae839962c9.tar.xz
Add a `cached` helper to the module API (#14663)
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/14663.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14663.feature b/changelog.d/14663.feature
new file mode 100644
index 0000000000..b03f3ee54e
--- /dev/null
+++ b/changelog.d/14663.feature
@@ -0,0 +1 @@
+Add a `cached` function to `synapse.module_api` that returns a decorator to cache return values of functions.