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:
@@ -321,6 +321,7 @@ class BaseModel(metaclass=MetaModel):
|
||||
def get_field_translations(
|
||||
self, field_name: str, langs: list[str] | None = ...
|
||||
) -> tuple[list[dict[str, Any]], dict[str, Any]]: ...
|
||||
def _get_base_lang(self) -> str: ...
|
||||
def _read_format(
|
||||
self, fnames: Collection[str], load: str = ...
|
||||
) -> list[dict[str, Any]]: ...
|
||||
|
||||
@@ -2,6 +2,7 @@ import collections
|
||||
from concurrent.futures import Future
|
||||
from itertools import count
|
||||
from typing import Any, Callable, Generator, Generic, Iterator, Mapping, Match, TypeVar
|
||||
from unittest.mock import Mock
|
||||
from xmlrpc import client as xmlrpclib
|
||||
|
||||
import requests
|
||||
@@ -99,6 +100,7 @@ class BaseCase(case.TestCase, metaclass=MetaCase):
|
||||
def assertHTMLEqual(self, original: str, expected: str) -> None: ...
|
||||
profile_session: str
|
||||
def profile(self, description: str = ..., **kwargs) -> Profiler: ...
|
||||
def patch_requests(self) -> Mock: ...
|
||||
|
||||
savepoint_seq: count[int]
|
||||
|
||||
|
||||
@@ -297,7 +297,10 @@ class DotDict(dict):
|
||||
def __getattr__(self, attrib): ...
|
||||
|
||||
def get_diff(
|
||||
data_from: tuple[str, str], data_to: tuple[str, str], custom_style: bool = ...
|
||||
data_from: tuple[str, str],
|
||||
data_to: tuple[str, str],
|
||||
custom_style: bool = ...,
|
||||
dark_color_scheme: bool = ...,
|
||||
) -> str: ...
|
||||
def hmac(env: Environment, scope, message, hash_function=...) -> str: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user