mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00

* Update JS deps * Update semver-compat Rust deps * Update some semver-incompat Rust deps - hyper/axum held back because reqwests is not ready - rusqlite held back due to burn-rs incompat version - wiremock held back due to compile issue * pylint wants changes to our _rsbridge.pyi * Update Python deps Also solves a security warning in orjson Reformat with latest black
12 lines
358 B
Python
12 lines
358 B
Python
from typing import Union
|
|
|
|
|
|
class Backend:
|
|
@classmethod
|
|
def command(cls, service: int, method: int, data: bytes) -> bytes: ...
|
|
def db_command(self, data: bytes) -> bytes: ...
|
|
|
|
def buildhash() -> str: ...
|
|
def open_backend(data: bytes) -> Backend: ...
|
|
def initialize_logging(log_file: Union[str, None]) -> Backend: ...
|
|
def syncserver() -> None: ...
|