coveo / coveo/push-api-client.py
[Bug]: missing argument when deleting documents
Open
bug
- Dominant language
- Python
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
```
38 def deleteDocument(self, sourceId: str, documentId: str):
---> 39 return self.client.deleteDocument(sourceId, documentId)
TypeError: PlatformClient.deleteDocument() missing 1 required positional argument: 'deleteChildren'
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the deleteDocument wrapper shown in the traceback and inspect the signature and callers of PlatformClient.deleteDocument. Confirm how the deleteChildren argument should be handled, then verify that deleting a document no longer raises the missing-argument TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100