Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-06 09:38:33 +07:00
parent 6c45d4be96
commit 54bd7bf18b

View File

@@ -1,12 +1,12 @@
from typing import Any
from markupsafe import Markup
JSON_SCRIPTSAFE_MAPPER: Any
JSON_SCRIPTSAFE_MAPPER: dict[str, str]
class _ScriptSafe(str):
def __html__(self): ...
def __html__(self) -> Markup: ...
class JSON:
def loads(self, *args, **kwargs): ...
def dumps(self, *args, **kwargs): ...
def dumps(self, *args, **kwargs) -> _ScriptSafe: ...
scriptsafe: Any
scriptsafe: JSON