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:
@@ -69,9 +69,12 @@ class Stream:
|
|||||||
max_age: int | None
|
max_age: int | None
|
||||||
immutable: bool
|
immutable: bool
|
||||||
size: int | None
|
size: int | None
|
||||||
|
public: bool
|
||||||
def __init__(self, **kwargs) -> None: ...
|
def __init__(self, **kwargs) -> None: ...
|
||||||
@classmethod
|
@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
|
@classmethod
|
||||||
def from_attachment(cls, attachment) -> Stream: ...
|
def from_attachment(cls, attachment) -> Stream: ...
|
||||||
@classmethod
|
@classmethod
|
||||||
@@ -109,7 +112,6 @@ class FilesystemSessionStore(sessions.FilesystemSessionStore):
|
|||||||
class Session(MutableMapping):
|
class Session(MutableMapping):
|
||||||
can_save: bool
|
can_save: bool
|
||||||
is_dirty: bool
|
is_dirty: bool
|
||||||
is_explicit: bool
|
|
||||||
is_new: bool
|
is_new: bool
|
||||||
should_rotate: bool
|
should_rotate: bool
|
||||||
sid: str
|
sid: str
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ class PeriodicCollector(Collector):
|
|||||||
name: str
|
name: str
|
||||||
active: bool
|
active: bool
|
||||||
frame_interval: float
|
frame_interval: float
|
||||||
thread: Thread
|
|
||||||
last_frame: FrameType | None
|
last_frame: FrameType | None
|
||||||
def __init__(self, interval: float = ...) -> None: ...
|
def __init__(self, interval: float = ...) -> None: ...
|
||||||
def run(self) -> None: ...
|
def run(self) -> None: ...
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ TRANSLATED_ATTRS: dict[str, Any]
|
|||||||
def translate_attrib_value(node: _Element) -> bool: ...
|
def translate_attrib_value(node: _Element) -> bool: ...
|
||||||
|
|
||||||
avoid_pattern: Pattern
|
avoid_pattern: Pattern
|
||||||
|
space_pattern: Pattern
|
||||||
|
|
||||||
def translate_xml_node(
|
def translate_xml_node(
|
||||||
node: _Element,
|
node: _Element,
|
||||||
|
|||||||
Reference in New Issue
Block a user