From c9a04d1c0cfdddccb68c812e1cacbb3cdbc845f2 Mon Sep 17 00:00:00 2001 From: Borislav <139573054+bmavrin@users.noreply.github.com> Date: Thu, 9 May 2024 14:52:59 -0400 Subject: [PATCH] Add missing param deleteChildren (#35) * Add missing param deleteChildren * Fix typo in update source.py --- src/push_api_clientpy/source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/push_api_clientpy/source.py b/src/push_api_clientpy/source.py index 9ff86b6..15bd310 100644 --- a/src/push_api_clientpy/source.py +++ b/src/push_api_clientpy/source.py @@ -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()