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, Callable, TypeVar
|
||||
from typing import Callable, TypeVar
|
||||
|
||||
from ..sql_db import Cursor
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ from ..models import BaseModel
|
||||
from ..modules.registry import Registry
|
||||
from ..sql_db import BaseCursor, Cursor
|
||||
from ..tools import profiler
|
||||
from ..tools._vendor.sessions import Session
|
||||
from ..tools.profiler import Profiler
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
@@ -18,7 +18,7 @@ PdfFileWriter = BrandedFileWriter
|
||||
|
||||
def merge_pdf(pdf_data: Iterable[bytes]) -> bytes: ...
|
||||
def rotate_pdf(pdf: bytes) -> bytes: ...
|
||||
def add_banner(pdf_stream: str | BinaryIO, text: str | None = ..., logo: bool = ..., thickness: float = ...) -> BytesIO:
|
||||
def add_banner(pdf_stream: str | BinaryIO, text: str | None = ..., logo: bool = ..., thickness: float = ...) -> BytesIO: ...
|
||||
|
||||
class OdooPdfFileReader(PdfFileReader):
|
||||
def getAttachments(self) -> Iterable[tuple[Any, Any]]: ...
|
||||
|
||||
Reference in New Issue
Block a user