kodexa-document 8.0.14978135874__py3-none-any.whl → 8.0.14978739149__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of kodexa-document might be problematic. Click here for more details.

@@ -1469,7 +1469,7 @@ class SqliteDocumentPersistence(object):
1469
1469
  PeeweeFeature.id.in_(feature_ids_to_delete)
1470
1470
  ).execute()
1471
1471
 
1472
- def remove_all_features(self, node):
1472
+ def remove_all_features(self, node: ContentNode):
1473
1473
  """
1474
1474
  Removes all features from a given node.
1475
1475
  """
@@ -1526,7 +1526,7 @@ class SqliteDocumentPersistence(object):
1526
1526
  """
1527
1527
  Removes all features from a node by its id.
1528
1528
  """
1529
- self.remove_all_features(ContentNode(self.document, "", uuid=node_id))
1529
+ self.remove_all_features(ContentNode(self.document, "", id=node_id))
1530
1530
 
1531
1531
  def remove_content_node(self, node: "ContentNode"):
1532
1532
  """
@@ -1570,8 +1570,7 @@ class SqliteDocumentPersistence(object):
1570
1570
 
1571
1571
  except Exception as e:
1572
1572
  self.connection.rollback()
1573
- logger.error(f"Error removing content node: {e}")
1574
- return []
1573
+ raise e
1575
1574
 
1576
1575
  def update_node(self, node: ContentNode):
1577
1576
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kodexa-document
3
- Version: 8.0.14978135874
3
+ Version: 8.0.14978739149
4
4
  Summary: Python SDK for the Kodexa Document Database (KDDB)
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -1,6 +1,6 @@
1
1
  kodexa_document/connectors.py,sha256=LXLBErbBHI85QXWgDtQLJ_ygKxXhkqOvpjtVHne_Ack,11814
2
2
  kodexa_document/model.py,sha256=uJSStMlwSBA5yTH4gQcCn3K9DGJY34E-YcHGg9Ds57k,130170
3
- kodexa_document/persistence.py,sha256=hLSO22H7K4RVmlofpYYOVbwRUaki6uvEmnVYX22qAWo,81864
3
+ kodexa_document/persistence.py,sha256=Zc9dZ3B8hwALc-To8uuTc9kzrTD_qpmXnulF1fJNIvc,81811
4
4
  kodexa_document/persistence_models.py,sha256=J7moH8PD3AzGbojPgpCL65xWiLkRHmE9zPl3miuOURY,11984
5
5
  kodexa_document/selectors/__init__.py,sha256=xDSAiNsvzifn33eluwLY6fOKQKuztuQCAmtiLSM9ao0,102
6
6
  kodexa_document/selectors/ast.py,sha256=_ZuEUxNql4ttfZWKVVWQKaw8eLU6IogvTCTKjpFP5CM,23643
@@ -17,6 +17,6 @@ kodexa_document/selectors/resources/KodexaSelectorParser.py,sha256=vi7LmJ-Uq7FXt
17
17
  kodexa_document/selectors/resources/KodexaSelectorVisitor.py,sha256=i3v6HcMwhb4MxykV8nnfnHGws3syMsF_jOOMVPPMv5A,12351
18
18
  kodexa_document/selectors/visitor.py,sha256=viWn8d0dSzmrWroKgUHcA0_0WwkiLedFn4t7QyGwsNM,10992
19
19
  kodexa_document/steps.py,sha256=FBdpRM83pXgVH1i59yzvxL_GypTQ6jGgBXKMu4_EAfw,3887
20
- kodexa_document-8.0.14978135874.dist-info/METADATA,sha256=w9IiP9kF9Dg2pa_FA7bIjK_bpNfdxk3HB00ed6R7UnM,9858
21
- kodexa_document-8.0.14978135874.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
22
- kodexa_document-8.0.14978135874.dist-info/RECORD,,
20
+ kodexa_document-8.0.14978739149.dist-info/METADATA,sha256=5RntpJcfWDKvCTAmyrepPaQgVJEJorfLajZAolJMhek,9858
21
+ kodexa_document-8.0.14978739149.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
22
+ kodexa_document-8.0.14978739149.dist-info/RECORD,,