diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2022-12-28 14:48:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 13:48:21 +0000 |
commit | 3854d0f94947ddd5a9ee98198af8d7ae839962c9 (patch) | |
tree | eac4ce72ec73a1cd8e3ff1b96fd1c6fe17643230 /changelog.d/14663.feature | |
parent | Add missing type hints to tests. (#14687) (diff) | |
download | synapse-3854d0f94947ddd5a9ee98198af8d7ae839962c9.tar.xz |
Add a `cached` helper to the module API (#14663)
Diffstat (limited to 'changelog.d/14663.feature')
-rw-r--r-- | changelog.d/14663.feature | 1 |
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. |