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:
@@ -176,10 +176,13 @@ class WorkerHTTP(Worker):
|
||||
def start(self) -> None: ...
|
||||
|
||||
class WorkerCron(Worker):
|
||||
alive_time: float
|
||||
db_index: int
|
||||
watchdog_timeout: int
|
||||
def __init__(self, multi: PreforkServer) -> None: ...
|
||||
def sleep(self) -> None: ...
|
||||
alive: bool
|
||||
def check_limits(self) -> None: ...
|
||||
def process_work(self) -> None: ...
|
||||
dbcursor: Cursor
|
||||
def start(self) -> None: ...
|
||||
|
||||
@@ -56,8 +56,10 @@ def generate_tracking_message_id(res_id: str) -> str: ...
|
||||
def email_split_tuples(text: str) -> list[str]: ...
|
||||
def email_split(text: str) -> list[str]: ...
|
||||
def email_split_and_format(text: str) -> list[str]: ...
|
||||
def email_split_and_format_normalize(text: str) -> list[str]: ...
|
||||
def email_normalize(text: str, strict: bool = ...) -> str | Literal[False]: ...
|
||||
def email_normalize_all(text: str) -> list[str]: ...
|
||||
def email_anonymize(normalized_email: str, *, redact_domain: bool = ...) -> str: ...
|
||||
def email_domain_extract(email: str) -> str | Literal[False]: ...
|
||||
def email_domain_normalize(domain: str) -> str | Literal[False]: ...
|
||||
def url_domain_extract(url: str) -> str | Literal[False]: ...
|
||||
@@ -68,3 +70,4 @@ def decode_message_header(
|
||||
def formataddr(pair: tuple[str, str], charset: str = ...) -> str: ...
|
||||
def encapsulate_email(old_email: str, new_email: str) -> str: ...
|
||||
def parse_contact_from_email(text: str) -> tuple[str, str]: ...
|
||||
def unfold_references(msg_references: str) -> list[str]: ...
|
||||
|
||||
Reference in New Issue
Block a user