summaryrefslogtreecommitdiff
path: root/searx/engines/sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/sqlite.py')
-rw-r--r--searx/engines/sqlite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/sqlite.py b/searx/engines/sqlite.py
index e3dd55829..45649cdc4 100644
--- a/searx/engines/sqlite.py
+++ b/searx/engines/sqlite.py
@@ -44,7 +44,7 @@ Implementations
===============
"""
-import typing
+import typing as t
import sqlite3
import contextlib
@@ -59,7 +59,7 @@ database = ""
query_str = ""
"""SQL query that returns the result items."""
-result_type: typing.Literal["MainResult", "KeyValue"] = "KeyValue"
+result_type: t.Literal["MainResult", "KeyValue"] = "KeyValue"
"""The result type can be :py:obj:`MainResult` or :py:obj:`KeyValue`."""
limit = 10