modification to full_sync.py
add type hint to def upload
This commit is contained in:
parent
1b305509c1
commit
16fbf6e27f
@ -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.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user