diff --git a/odoo-stubs/http.pyi b/odoo-stubs/http.pyi index a01e321..9d887ea 100644 --- a/odoo-stubs/http.pyi +++ b/odoo-stubs/http.pyi @@ -69,9 +69,12 @@ class Stream: max_age: int | None immutable: bool size: int | None + public: bool def __init__(self, **kwargs) -> None: ... @classmethod - def from_path(cls, path: str, filter_ext: tuple[str, ...] = ...) -> Stream: ... + def from_path( + cls, path: str, filter_ext: tuple[str, ...] = ..., public: bool = ... + ) -> Stream: ... @classmethod def from_attachment(cls, attachment) -> Stream: ... @classmethod @@ -109,7 +112,6 @@ class FilesystemSessionStore(sessions.FilesystemSessionStore): class Session(MutableMapping): can_save: bool is_dirty: bool - is_explicit: bool is_new: bool should_rotate: bool sid: str diff --git a/odoo-stubs/tools/profiler.pyi b/odoo-stubs/tools/profiler.pyi index 2c10f0d..63edba4 100644 --- a/odoo-stubs/tools/profiler.pyi +++ b/odoo-stubs/tools/profiler.pyi @@ -40,7 +40,6 @@ class PeriodicCollector(Collector): name: str active: bool frame_interval: float - thread: Thread last_frame: FrameType | None def __init__(self, interval: float = ...) -> None: ... def run(self) -> None: ... diff --git a/odoo-stubs/tools/translate.pyi b/odoo-stubs/tools/translate.pyi index 2f1df6e..4aa2979 100644 --- a/odoo-stubs/tools/translate.pyi +++ b/odoo-stubs/tools/translate.pyi @@ -28,6 +28,7 @@ TRANSLATED_ATTRS: dict[str, Any] def translate_attrib_value(node: _Element) -> bool: ... avoid_pattern: Pattern +space_pattern: Pattern def translate_xml_node( node: _Element,