summaryrefslogtreecommitdiff
path: root/searx/result_types/answer.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/result_types/answer.py')
-rw-r--r--searx/result_types/answer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/result_types/answer.py b/searx/result_types/answer.py
index 1a24f12f1..d6c28001d 100644
--- a/searx/result_types/answer.py
+++ b/searx/result_types/answer.py
@@ -28,6 +28,9 @@ template.
"""
# pylint: disable=too-few-public-methods
+# Struct fields aren't discovered in Python 3.14
+# - https://github.com/searxng/searxng/issues/5284
+from __future__ import annotations
__all__ = ["AnswerSet", "Answer", "Translations", "WeatherAnswer"]