modification to full_sync.py

add type hint to def upload
This commit is contained in:
dobefore 2022-02-07 14:21:51 +08:00 committed by Vikash Kothary
parent 1b305509c1
commit 16fbf6e27f

View File

@ -23,7 +23,7 @@ class FullSyncManager:
"Integrity check failed for uploaded collection database file."
)
def upload(self, col: Collection, data: bytes, session) :
def upload(self, col: Collection, data: bytes, session) -> str:
"""
Uploads a sqlite database from the client to the sync server.