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:
@@ -107,7 +107,7 @@ class FilesystemSessionStore(sessions.FilesystemSessionStore):
|
|||||||
def save(self, session: Session) -> None: ...
|
def save(self, session: Session) -> None: ...
|
||||||
def get(self, sid: str) -> Session: ...
|
def get(self, sid: str) -> Session: ...
|
||||||
def rotate(self, session: Session, env: Environment) -> None: ...
|
def rotate(self, session: Session, env: Environment) -> None: ...
|
||||||
def vacuum(self) -> None: ...
|
def vacuum(self, max_lifetime=...) -> None: ...
|
||||||
|
|
||||||
class Session(MutableMapping):
|
class Session(MutableMapping):
|
||||||
can_save: bool
|
can_save: bool
|
||||||
@@ -173,7 +173,7 @@ class Response(werkzeug.Response):
|
|||||||
key: str,
|
key: str,
|
||||||
value: str = ...,
|
value: str = ...,
|
||||||
max_age: Any | None = ...,
|
max_age: Any | None = ...,
|
||||||
expires: Any | None = ...,
|
expires: int = ...,
|
||||||
path: str = ...,
|
path: str = ...,
|
||||||
domain: str | None = ...,
|
domain: str | None = ...,
|
||||||
secure: bool = ...,
|
secure: bool = ...,
|
||||||
@@ -192,7 +192,7 @@ class FutureResponse:
|
|||||||
key: str,
|
key: str,
|
||||||
value: str = ...,
|
value: str = ...,
|
||||||
max_age: Any | None = ...,
|
max_age: Any | None = ...,
|
||||||
expires: Any | None = ...,
|
expires: int = ...,
|
||||||
path: str = ...,
|
path: str = ...,
|
||||||
domain: str | None = ...,
|
domain: str | None = ...,
|
||||||
secure: bool = ...,
|
secure: bool = ...,
|
||||||
|
|||||||
Reference in New Issue
Block a user