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,24 +1,29 @@
|
|||||||
from typing import Any
|
from reprlib import Repr
|
||||||
|
from typing import Any, Callable, Iterable, Sequence, TypeVar
|
||||||
|
|
||||||
shortener: Any
|
_SpeedscopeT = TypeVar('_SpeedscopeT', bound=Speedscope)
|
||||||
shorten: Any
|
|
||||||
|
shortener: Repr
|
||||||
|
shorten: Callable[[Any], str]
|
||||||
|
|
||||||
class Speedscope:
|
class Speedscope:
|
||||||
init_stack_trace: Any
|
init_stack_trace: list[Sequence]
|
||||||
init_stack_trace_level: Any
|
init_stack_trace_level: int
|
||||||
caller_frame: Any
|
caller_frame: Sequence | None
|
||||||
init_caller_frame: Any
|
init_caller_frame: Sequence | None
|
||||||
profiles_raw: Any
|
profiles_raw: dict
|
||||||
name: Any
|
name: str
|
||||||
frames_indexes: Any
|
frames_indexes: dict[Any, int]
|
||||||
frame_count: int
|
frame_count: int
|
||||||
profiles: Any
|
profiles: list
|
||||||
def __init__(self, name: str = ..., init_stack_trace: Any | None = ...) -> None: ...
|
def __init__(self, name: str = ..., init_stack_trace: list | None = ...) -> None: ...
|
||||||
def add(self, key, profile) -> None: ...
|
def add(self, key, profile) -> None: ...
|
||||||
def convert_stack(self, stack) -> None: ...
|
def convert_stack(self, stack: list[Sequence]) -> None: ...
|
||||||
def add_output(self, names, complete: bool = ..., display_name: Any | None = ..., use_context: bool = ..., **params): ...
|
def add_output(self: _SpeedscopeT, names: Iterable[str], complete: bool = ..., display_name: str | None = ...,
|
||||||
def add_default(self): ...
|
use_context: bool = ..., **params) -> _SpeedscopeT: ...
|
||||||
def make(self): ...
|
def add_default(self: _SpeedscopeT) -> _SpeedscopeT: ...
|
||||||
def get_frame_id(self, frame): ...
|
def make(self) -> dict: ...
|
||||||
def stack_to_ids(self, stack, context, stack_offset: int = ...): ...
|
def get_frame_id(self, frame) -> int: ...
|
||||||
def process(self, entries, continuous: bool = ..., hide_gaps: bool = ..., use_context: bool = ...): ...
|
def stack_to_ids(self, stack: list, context: Iterable[tuple[int, dict]], stack_offset: int = ...) -> list[int]: ...
|
||||||
|
def process(self, entries: list[dict], continuous: bool = ..., hide_gaps: bool = ..., use_context: bool = ...,
|
||||||
|
constant_time: bool = ...) -> list[dict]: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user