mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
15 lines
291 B
Python
15 lines
291 B
Python
from markupsafe import Markup
|
|
|
|
JSON_SCRIPTSAFE_MAPPER: dict[str, str]
|
|
|
|
class _ScriptSafe(str):
|
|
def __html__(self) -> Markup: ...
|
|
|
|
class JSON:
|
|
def loads(self, *args, **kwargs): ...
|
|
def dumps(self, *args, **kwargs) -> _ScriptSafe: ...
|
|
|
|
scriptsafe: JSON
|
|
|
|
def json_default(obj): ...
|