def buildhash() -> str: ... def open_backend(data: bytes) -> Backend: ... class Backend: @classmethod def command(self, method: int, data: bytes) -> bytes: ... def db_command(self, data: bytes) -> bytes: ...