mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
14 lines
435 B
Python
14 lines
435 B
Python
import typing as t
|
|
import warnings
|
|
|
|
|
|
class UserAgentMixin:
|
|
def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
|
|
warnings.warn(
|
|
"'UserAgentMixin' is deprecated and will be removed in"
|
|
" Werkzeug 2.1. 'Request' now includes the functionality"
|
|
" directly.",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|
|
super().__init__(*args, **kwargs) # type: ignore
|