"""
Provide proxy URL generators.
"""
from typing import final, Any
from typing_extensions import override
from betty.locale import Localey
from betty.media_type import MediaType
from betty.url import LocalizedUrlGenerator, UnsupportedResource, UrlGenerator
from betty.warnings import deprecated
[docs]
@final
class ProxyUrlGenerator(UrlGenerator):
"""
Expose multiple other URL generators as one unified URL generator.
"""
[docs]
@deprecated(
f"This class has been deprecated since Betty 0.4.8, and will be removed in Betty 0.5. Instead use {ProxyUrlGenerator}."
)
@final
class ProxyLocalizedUrlGenerator(LocalizedUrlGenerator):
"""
Expose multiple other URL generators as one unified URL generator.
"""