mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
11 lines
357 B
Python
11 lines
357 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: ...
|