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,8 +1,8 @@
|
||||
from typing import Literal
|
||||
|
||||
from ..api import Environment
|
||||
from ..http import OpenERPSession
|
||||
from ..http import Session
|
||||
|
||||
def check(db: str, uid: int, passwd: str) -> None: ...
|
||||
def compute_session_token(session: OpenERPSession, env: Environment) -> str | Literal[False]: ...
|
||||
def check_session(session: OpenERPSession, env: Environment) -> bool: ...
|
||||
def compute_session_token(session: Session, env: Environment) -> str | Literal[False]: ...
|
||||
def check_session(session: Session, env: Environment) -> bool: ...
|
||||
|
||||
@@ -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