Skip to content

Commit

Permalink
Add missing param deleteChildren (#35)
Browse files Browse the repository at this point in the history
* Add missing param deleteChildren

* Fix typo in update source.py
  • Loading branch information
bmavrin authored May 9, 2024
1 parent 36c3bc8 commit c9a04d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/push_api_clientpy/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def manageSecurityIdentities(self, securityProviderId: str, batchConfig: Securit
def addOrUpdateDocument(self, sourceId: str, docBuilder: DocumentBuilder):
return self.client.pushDocument(sourceId, docBuilder.marshal())

def deleteDocument(self, sourceId: str, documentId: str):
return self.client.deleteDocument(sourceId, documentId)
def deleteDocument(self, sourceId: str, documentId: str, deleteChildren: bool):
return self.client.deleteDocument(sourceId, documentId, deleteChildren)

def batchUpdateDocuments(self, sourceId: str, batch: BatchUpdate):
resFileContainer = self.client.createFileContainer().json()
Expand Down

0 comments on commit c9a04d1

Please sign in to comment.