diff --git a/qfieldcloud_sdk/sdk.py b/qfieldcloud_sdk/sdk.py index 6759b74..91806dd 100644 --- a/qfieldcloud_sdk/sdk.py +++ b/qfieldcloud_sdk/sdk.py @@ -132,7 +132,7 @@ def __init__( "Cannot create a new QFieldCloud client without a url passed in the constructor or as environment variable QFIELDCLOUD_URL" ) - def login(self, username: str, password: str) -> Dict: + def login(self, username: str, password: str) -> Dict[str, Any]: """Logins with the provided credentials. Args: @@ -183,6 +183,21 @@ def list_projects( def list_remote_files( self, project_id: str, skip_metadata: bool = True ) -> List[Dict[str, Any]]: +<<<<<<< HEAD +======= + """Lists the files available in the specified project. + + Args: + project_id (str): The ID of the project to list files for. + skip_metadata (bool): Whether to skip fetching metadata for the files. Defaults to True. + + Returns: + List[Dict[str, Any]]: A list of dictionaries containing file details. + + Example: + client.list_remote_files("project_id", True) + """ +>>>>>>> f2217c8 (Adding suggestions) params = {} if skip_metadata: