"""
Fetch content from the internet.
"""
from __future__ import annotations
from typing import TYPE_CHECKING
from typing_extensions import override
from betty.fetch import Fetcher, FetchError, FetchResponse
from betty.locale.localizable import static
if TYPE_CHECKING:
from collections.abc import Mapping
from pathlib import Path
[docs]
class StaticFetcher(Fetcher):
"""
Return predefined (static) fetch responses.
"""