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,4 +1,4 @@
|
||||
from typing import Any
|
||||
from typing import Generator
|
||||
|
||||
LOG_NOTSET: str
|
||||
LOG_DEBUG: str
|
||||
@@ -7,9 +7,9 @@ LOG_WARNING: str
|
||||
LOG_ERROR: str
|
||||
LOG_CRITICAL: str
|
||||
|
||||
def get_encodings(hint_encoding: str = ...) -> None: ...
|
||||
def get_encodings(hint_encoding: str = ...) -> Generator[str, None, None]: ...
|
||||
|
||||
text_type: Any
|
||||
text_type: type[str]
|
||||
|
||||
def ustr(value: Any, hint_encoding: str = ..., errors: str = ...): ...
|
||||
def exception_to_unicode(e: Any): ...
|
||||
def ustr(value, hint_encoding: str = ..., errors: str = ...) -> str: ...
|
||||
def exception_to_unicode(e: BaseException) -> str: ...
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
from typing import Any
|
||||
|
||||
RELEASE_LEVELS: Any
|
||||
ALPHA: Any
|
||||
BETA: Any
|
||||
RELEASE_CANDIDATE: Any
|
||||
FINAL: Any
|
||||
RELEASE_LEVELS_DISPLAY: Any
|
||||
version_info: Any
|
||||
version: Any
|
||||
series: Any
|
||||
serie: Any
|
||||
major_version: Any
|
||||
RELEASE_LEVELS: list[str]
|
||||
ALPHA: str
|
||||
BETA: str
|
||||
RELEASE_CANDIDATE: str
|
||||
FINAL: str
|
||||
RELEASE_LEVELS_DISPLAY: dict[str, str]
|
||||
version_info: tuple
|
||||
version: str
|
||||
series: str
|
||||
serie: str
|
||||
major_version: str
|
||||
product_name: str
|
||||
description: str
|
||||
long_desc: str
|
||||
@@ -19,4 +17,4 @@ url: str
|
||||
author: str
|
||||
author_email: str
|
||||
license: str
|
||||
nt_service_name: Any
|
||||
nt_service_name: str
|
||||
|
||||
Reference in New Issue
Block a user