kodexa-document 8.0.14978739149__tar.gz → 8.0.14978954371__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.14978739149 → kodexa_document-8.0.14978954371}/PKG-INFO +1 -1
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/persistence_models.py +8 -14
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/pyproject.toml +1 -1
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/README.md +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/connectors.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/model.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/persistence.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/__init__.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/ast.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/error.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/kodexa-ast-visitor.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/parser.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelector.interp +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelector.tokens +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorLexer.interp +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorLexer.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorLexer.tokens +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorListener.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorParser.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/resources/KodexaSelectorVisitor.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/selectors/visitor.py +0 -0
- {kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/steps.py +0 -0
|
@@ -53,7 +53,7 @@ class NodeType(BaseModel):
|
|
|
53
53
|
class ContentNode(BaseModel):
|
|
54
54
|
id = AutoField()
|
|
55
55
|
parent = ForeignKeyField(
|
|
56
|
-
"self", backref="children", null=True, column_name="parent_id"
|
|
56
|
+
"self", backref="children", null=True, column_name="parent_id", on_delete="CASCADE"
|
|
57
57
|
)
|
|
58
58
|
node_type = TextField()
|
|
59
59
|
content = TextField(null=True)
|
|
@@ -68,7 +68,7 @@ class ContentNode(BaseModel):
|
|
|
68
68
|
class ContentNodePart(BaseModel):
|
|
69
69
|
id = AutoField()
|
|
70
70
|
content_node = ForeignKeyField(
|
|
71
|
-
ContentNode, backref="parts", column_name="content_node_id"
|
|
71
|
+
ContentNode, backref="parts", column_name="content_node_id", on_delete="CASCADE"
|
|
72
72
|
)
|
|
73
73
|
pos = IntegerField()
|
|
74
74
|
content = TextField(null=True)
|
|
@@ -80,12 +80,6 @@ class ContentNodePart(BaseModel):
|
|
|
80
80
|
|
|
81
81
|
class ContentException(BaseModel):
|
|
82
82
|
id = AutoField()
|
|
83
|
-
data_object = ForeignKeyField(
|
|
84
|
-
DataObject,
|
|
85
|
-
backref="content_exceptions",
|
|
86
|
-
null=True,
|
|
87
|
-
column_name="data_object_id",
|
|
88
|
-
)
|
|
89
83
|
message = TextField(null=True)
|
|
90
84
|
exception_details = TextField(null=True)
|
|
91
85
|
exception_type = TextField(null=True)
|
|
@@ -111,7 +105,7 @@ class FeatureType(BaseModel):
|
|
|
111
105
|
class Feature(BaseModel):
|
|
112
106
|
id = AutoField()
|
|
113
107
|
feature_type = ForeignKeyField(
|
|
114
|
-
FeatureType, backref="features", column_name="feature_type_id"
|
|
108
|
+
FeatureType, backref="features", column_name="feature_type_id", on_delete="CASCADE"
|
|
115
109
|
)
|
|
116
110
|
|
|
117
111
|
class Meta:
|
|
@@ -121,10 +115,10 @@ class Feature(BaseModel):
|
|
|
121
115
|
class ContentNodeFeatureLink(BaseModel):
|
|
122
116
|
id = AutoField()
|
|
123
117
|
content_node = ForeignKeyField(
|
|
124
|
-
ContentNode, backref="feature_links", column_name="content_node_id"
|
|
118
|
+
ContentNode, backref="feature_links", column_name="content_node_id", on_delete="CASCADE"
|
|
125
119
|
)
|
|
126
120
|
feature = ForeignKeyField(
|
|
127
|
-
Feature, backref="content_node_links", column_name="feature_id"
|
|
121
|
+
Feature, backref="content_node_links", column_name="feature_id", on_delete="CASCADE"
|
|
128
122
|
)
|
|
129
123
|
|
|
130
124
|
class Meta:
|
|
@@ -136,7 +130,7 @@ class ContentNodeFeatureLink(BaseModel):
|
|
|
136
130
|
|
|
137
131
|
class FeatureBlob(BaseModel):
|
|
138
132
|
id = AutoField()
|
|
139
|
-
feature = ForeignKeyField(Feature, backref="blobs", column_name="feature_id")
|
|
133
|
+
feature = ForeignKeyField(Feature, backref="blobs", column_name="feature_id", on_delete="CASCADE")
|
|
140
134
|
binary_value = BlobField()
|
|
141
135
|
|
|
142
136
|
class Meta:
|
|
@@ -145,7 +139,7 @@ class FeatureBlob(BaseModel):
|
|
|
145
139
|
|
|
146
140
|
class FeatureBBox(BaseModel):
|
|
147
141
|
id = AutoField()
|
|
148
|
-
feature = ForeignKeyField(Feature, backref="bboxes", column_name="feature_id")
|
|
142
|
+
feature = ForeignKeyField(Feature, backref="bboxes", column_name="feature_id", on_delete="CASCADE")
|
|
149
143
|
x1 = FloatField()
|
|
150
144
|
y1 = FloatField()
|
|
151
145
|
x2 = FloatField()
|
|
@@ -157,7 +151,7 @@ class FeatureBBox(BaseModel):
|
|
|
157
151
|
|
|
158
152
|
class FeatureTag(BaseModel):
|
|
159
153
|
id = AutoField()
|
|
160
|
-
feature = ForeignKeyField(Feature, backref="tags", column_name="feature_id")
|
|
154
|
+
feature = ForeignKeyField(Feature, backref="tags", column_name="feature_id", on_delete="CASCADE")
|
|
161
155
|
tag_value = TextField(null=True)
|
|
162
156
|
start_pos = IntegerField(null=True)
|
|
163
157
|
end_pos = IntegerField(null=True)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "kodexa-document"
|
|
3
|
-
version = "8.0.
|
|
3
|
+
version = "8.0.14978954371"
|
|
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.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/connectors.py
RENAMED
|
File without changes
|
{kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/model.py
RENAMED
|
File without changes
|
{kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/persistence.py
RENAMED
|
File without changes
|
|
File without changes
|
{kodexa_document-8.0.14978739149 → kodexa_document-8.0.14978954371}/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.14978739149 → kodexa_document-8.0.14978954371}/kodexa_document/steps.py
RENAMED
|
File without changes
|