diff --git a/deepset_cloud_sdk/_service/files_service.py b/deepset_cloud_sdk/_service/files_service.py index 6efd44a7..0a7d9b79 100644 --- a/deepset_cloud_sdk/_service/files_service.py +++ b/deepset_cloud_sdk/_service/files_service.py @@ -509,7 +509,6 @@ async def download( await self._files.list_paginated( workspace_name, name=name, - content=content, odata_filter=odata_filter, limit=1, ) @@ -527,7 +526,6 @@ async def download( response = await self._files.list_paginated( workspace_name=workspace_name, name=name, - content=content, odata_filter=odata_filter, limit=batch_size, after_file_id=after_file_id, @@ -670,7 +668,6 @@ async def list_all( response = await self._files.list_paginated( workspace_name, name=name, - content=content, odata_filter=odata_filter, limit=batch_size, after_file_id=after_file_id, diff --git a/tests/unit/api/test_files.py b/tests/unit/api/test_files.py index 49e38eed..43f5d595 100644 --- a/tests/unit/api/test_files.py +++ b/tests/unit/api/test_files.py @@ -56,7 +56,6 @@ async def test_list_paginated(self, files_api: FilesAPI, mocked_deepset_cloud_ap workspace_name="test_workspace", limit=10, name="things_1", - content="silly", odata_filter="created_at eq '2022-06-21T16:40:00.634653+00:00' ", ) assert result == FileList( @@ -79,7 +78,6 @@ async def test_list_paginated(self, files_api: FilesAPI, mocked_deepset_cloud_ap params={ "limit": 10, "name": "things_1", - "content": "silly", "filter": "created_at eq '2022-06-21T16:40:00.634653+00:00' ", }, )