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,18 +1,19 @@
|
||||
import ctypes
|
||||
from typing import Any
|
||||
from re import Pattern
|
||||
from typing import Any, Callable, Generator, Iterable, Iterator
|
||||
from typing.io import IO
|
||||
|
||||
_logger: Any
|
||||
WINDOWS_RESERVED: Any
|
||||
WINDOWS_RESERVED: Pattern
|
||||
|
||||
def clean_filename(name, replacement: str = ...): ...
|
||||
def listdir(dir, recursive: bool = ...): ...
|
||||
def walksymlinks(top, topdown: bool = ..., onerror: Any | None = ...): ...
|
||||
def tempdir() -> None: ...
|
||||
def zip_dir(path, stream, include_dir: bool = ..., fnct_sort: Any | None = ...) -> None: ...
|
||||
def clean_filename(name: str, replacement: str = ...) -> str: ...
|
||||
def listdir(dir: str, recursive: bool = ...) -> Iterable[str]: ...
|
||||
def walksymlinks(top: str, topdown: bool = ..., onerror: Callable[[OSError], Any] | None = ...) -> Iterator[tuple[str, list[str], list[str]]]: ...
|
||||
def tempdir() -> Generator[str, None, None]: ...
|
||||
def zip_dir(path: str, stream: str | IO[bytes], include_dir: bool = ..., fnct_sort: Callable | None = ...) -> None: ...
|
||||
|
||||
getppid: Any
|
||||
is_running_as_nt_service: Any
|
||||
getppid: Callable[[], int]
|
||||
is_running_as_nt_service: Callable[[], bool]
|
||||
_TH32CS_SNAPPROCESS: int
|
||||
|
||||
class _PROCESSENTRY32(ctypes.Structure):
|
||||
_fields_: Any
|
||||
_fields_: list[tuple[str, Any]]
|
||||
|
||||
Reference in New Issue
Block a user