File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def __init__(
227227 "Cannot create a new QFieldCloud client without a url passed in the constructor or as environment variable QFIELDCLOUD_URL"
228228 )
229229
230- def login (self , username : str , password : str ) -> Dict :
230+ def login (self , username : str , password : str ) -> Dict [ str , Any ] :
231231 """Logins with the provided credentials.
232232
233233 Args:
@@ -313,9 +313,6 @@ def list_remote_files(
313313
314314 Example:
315315 client.list_remote_files("project_id", True)
316-
317- Todo:
318- * Remove this temporary decoration with `etag` key
319316 """
320317 params = {}
321318
@@ -324,6 +321,7 @@ def list_remote_files(
324321
325322 resp = self ._request ("GET" , f"files/{ project_id } " , params = params )
326323 remote_files = resp .json ()
324+ # TODO remove this temporary decoration with `etag` key
327325 remote_files = list (map (lambda f : {"etag" : f ["md5sum" ], ** f }, remote_files ))
328326
329327 return remote_files
You can’t perform that action at this time.
0 commit comments