From 340421ea360cc6057fb006aa29370da8183c126c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 13 Feb 2026 14:58:23 +0100 Subject: [PATCH] Minor cache --- changedetectionio/api/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/changedetectionio/api/__init__.py b/changedetectionio/api/__init__.py index 141a68b6c..f3e487ffc 100644 --- a/changedetectionio/api/__init__.py +++ b/changedetectionio/api/__init__.py @@ -37,6 +37,7 @@ def get_openapi_schema_dict(): with open(spec_path, 'r', encoding='utf-8') as f: return yaml.safe_load(f) +@functools.cache def get_watch_schema_properties(): """ Extract watch schema properties from OpenAPI spec for Import endpoint.