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

The saved characters weren't worth the increased difficulty when reading, and the fact that we were deviating from protobuf norms.
21 lines
459 B
Python
21 lines
459 B
Python
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import anki._backend.backend_pb2 as _pb
|
|
|
|
# public exports
|
|
SyncAuth = _pb.SyncAuth
|
|
SyncOutput = _pb.SyncCollectionResponse
|
|
SyncStatus = _pb.SyncStatusResponse
|
|
|
|
|
|
# Legacy attributes some add-ons may be using
|
|
|
|
from .httpclient import HttpClient
|
|
|
|
AnkiRequestsClient = HttpClient
|
|
|
|
|
|
class Syncer:
|
|
def sync(self) -> str:
|
|
pass
|