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:
@@ -33,6 +33,7 @@ def validate_url(url: str) -> str: ...
|
|||||||
def is_html_empty(html_content: str) -> bool: ...
|
def is_html_empty(html_content: str) -> bool: ...
|
||||||
def html_keep_url(text: str) -> str: ...
|
def html_keep_url(text: str) -> str: ...
|
||||||
def html_to_inner_content(html: str) -> str: ...
|
def html_to_inner_content(html: str) -> str: ...
|
||||||
|
def create_link(url: str, label: str) -> str: ...
|
||||||
def html2plaintext(
|
def html2plaintext(
|
||||||
html: str, body_id: str | None = ..., encoding: str = ...
|
html: str, body_id: str | None = ..., encoding: str = ...
|
||||||
) -> str: ...
|
) -> str: ...
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ class OrderedSet(MutableSet):
|
|||||||
def discard(self, elem) -> None: ...
|
def discard(self, elem) -> None: ...
|
||||||
def update(self, elems: Iterable) -> None: ...
|
def update(self, elems: Iterable) -> None: ...
|
||||||
def difference_update(self, elems: Iterable) -> None: ...
|
def difference_update(self, elems: Iterable) -> None: ...
|
||||||
|
def intersection(self, *others): ...
|
||||||
|
|
||||||
class LastOrderedSet(OrderedSet):
|
class LastOrderedSet(OrderedSet):
|
||||||
def add(self, elem) -> None: ...
|
def add(self, elem) -> None: ...
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ from typing import Any, BinaryIO, Iterable
|
|||||||
|
|
||||||
from odoo.addons.base.models.ir_attachment import IrAttachment
|
from odoo.addons.base.models.ir_attachment import IrAttachment
|
||||||
from PyPDF2 import PdfFileReader, PdfFileWriter
|
from PyPDF2 import PdfFileReader, PdfFileWriter
|
||||||
from PyPDF2.generic import ArrayObject as ArrayObject
|
|
||||||
from PyPDF2.utils import b_ as b_
|
|
||||||
|
|
||||||
DEFAULT_PDF_DATETIME_FORMAT: str
|
DEFAULT_PDF_DATETIME_FORMAT: str
|
||||||
REGEX_SUBTYPE_UNFORMATED: Pattern
|
REGEX_SUBTYPE_UNFORMATED: Pattern
|
||||||
|
|||||||
Reference in New Issue
Block a user