kodexa-document 8.0.14978135874__tar.gz → 8.0.14978739149__tar.gz
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.
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/PKG-INFO +1 -1
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/persistence.py +3 -4
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/pyproject.toml +1 -1
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/README.md +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/connectors.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/model.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/persistence_models.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/__init__.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/ast.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/error.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/kodexa-ast-visitor.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/parser.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelector.interp +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelector.tokens +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorLexer.interp +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorLexer.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorLexer.tokens +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorListener.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorParser.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/resources/KodexaSelectorVisitor.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/visitor.py +0 -0
- {kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/steps.py +0 -0
{kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/persistence.py
RENAMED
|
@@ -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, "",
|
|
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
|
-
|
|
1574
|
-
return []
|
|
1573
|
+
raise e
|
|
1575
1574
|
|
|
1576
1575
|
def update_node(self, node: ContentNode):
|
|
1577
1576
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "kodexa-document"
|
|
3
|
-
version = "8.0.
|
|
3
|
+
version = "8.0.14978739149"
|
|
4
4
|
description = "Python SDK for the Kodexa Document Database (KDDB)"
|
|
5
5
|
authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
|
|
6
6
|
readme = "README.md"
|
|
File without changes
|
{kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/connectors.py
RENAMED
|
File without changes
|
{kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/selectors/ast.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kodexa_document-8.0.14978135874 → kodexa_document-8.0.14978739149}/kodexa_document/steps.py
RENAMED
|
File without changes
|