Files
odoo-stubs/odoo-stubs/service/security.pyi
Trinh Anh Ngoc c04f256b22 Update stubs
2022-10-17 10:56:33 +07:00

9 lines
299 B
Python

from typing import Literal
from ..api import Environment
from ..http import Session
def check(db: str, uid: int, passwd: str) -> None: ...
def compute_session_token(session: Session, env: Environment) -> str | Literal[False]: ...
def check_session(session: Session, env: Environment) -> bool: ...