mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -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):
|
class _ScriptSafe(str):
|
||||||
def __html__(self): ...
|
def __html__(self) -> Markup: ...
|
||||||
|
|
||||||
class JSON:
|
class JSON:
|
||||||
def loads(self, *args, **kwargs): ...
|
def loads(self, *args, **kwargs): ...
|
||||||
def dumps(self, *args, **kwargs): ...
|
def dumps(self, *args, **kwargs) -> _ScriptSafe: ...
|
||||||
|
|
||||||
scriptsafe: Any
|
scriptsafe: JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user