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,5 +1,5 @@
|
||||
from logging import Logger
|
||||
from typing import Any, Callable, Generator, Sequence, TypeVar
|
||||
from typing import Any, Callable, Collection, Generator, TypeVar
|
||||
|
||||
import werkzeug
|
||||
from werkzeug.exceptions import NotFound
|
||||
@@ -35,6 +35,9 @@ class WebRequest:
|
||||
endpoint_arguments: Any
|
||||
auth_method: str | None
|
||||
website: 'odoo.model.website'
|
||||
website_routing: int
|
||||
is_frontend: bool
|
||||
is_frontend_multilang: bool
|
||||
lang: 'odoo.model.res_lang'
|
||||
_cr: Cursor | None
|
||||
_uid: int | None
|
||||
@@ -125,7 +128,7 @@ class EndPoint:
|
||||
def _as_tuple(self) -> tuple[Callable, dict]: ...
|
||||
def __repr__(self) -> str: ...
|
||||
|
||||
def _generate_routing_rules(modules: Sequence[str], nodb_only: bool, converters: Any | None = ...) -> Generator[tuple[str, EndPoint, dict], None, None]: ...
|
||||
def _generate_routing_rules(modules: Collection[str], nodb_only: bool, converters: Any | None = ...) -> Generator[tuple[str, EndPoint, dict], None, None]: ...
|
||||
|
||||
class AuthenticationError(Exception): ...
|
||||
class SessionExpiredException(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user