mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
WIP
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
e242005916
commit
7a43a81c56
1 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,13 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# pyright: basic
|
||||||
|
# lint: pylint
|
||||||
|
"""Type definitions of the result items from engines."""
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
|
from urllib.parse import ParseResult
|
||||||
|
|
||||||
from typing import List, Dict, Set
|
from typing import List, Dict, Set
|
||||||
from typing_extensions import TypedDict, NotRequired, Required, Literal
|
from typing_extensions import TypedDict, NotRequired, Required, Literal
|
||||||
from urllib.parse import ParseResult
|
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
@ -152,6 +158,8 @@ class InfoboxUrl(TypedDict):
|
||||||
|
|
||||||
|
|
||||||
class InfoboxImage(TypedDict):
|
class InfoboxImage(TypedDict):
|
||||||
|
"""Image in a infobox"""
|
||||||
|
|
||||||
src: str
|
src: str
|
||||||
"""URL of the image"""
|
"""URL of the image"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue