kodexa 7.0.8618070181__py3-none-any.whl → 7.0.8664569946__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.
kodexa/model/model.py CHANGED
@@ -176,6 +176,8 @@ class Tag(Dict):
176
176
  **kwargs,
177
177
  ):
178
178
  super().__init__(*args, **kwargs)
179
+
180
+ import uuid as uuid_gen
179
181
  self.start: Optional[int] = start
180
182
  """The start position (zero indexed) of the content within the node, if None then label is applied to the whole node"""
181
183
  self.end: Optional[int] = end
@@ -184,7 +186,7 @@ class Tag(Dict):
184
186
  """A string representing the value that was labelled in the node"""
185
187
  self.data: Optional[Any] = data
186
188
  """Any data object (JSON serializable) that you wish to associate with the label"""
187
- self.uuid: Optional[str] = uuid or str(uuid.uuid4())
189
+ self.uuid: Optional[str] = uuid or str(uuid_gen.uuid4())
188
190
  """The UUID for this tag instance, this allows tags that are on different content nodes to be related through the same UUID"""
189
191
  self.confidence: Optional[float] = confidence
190
192
  """The confidence of the tag in a range of 0-1"""
@@ -117,6 +117,9 @@ class SqliteDocumentPersistence(object):
117
117
  disk_cursor.execute("SELECT name, sql FROM sqlite_master WHERE type='table';")
118
118
  tables = disk_cursor.fetchall()
119
119
  for table_name, create_table_sql in tables:
120
+ if "sqlite" in table_name:
121
+ continue
122
+
120
123
  # Create the table structure in the in-memory database
121
124
  mem_cursor.execute(create_table_sql)
122
125
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.8618070181
3
+ Version: 7.0.8664569946
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -5,9 +5,9 @@ kodexa/connectors/__init__.py,sha256=WF6G_MUeU32TlKSUKkpNoNX7dq8iBPliFMep4E8BmZc
5
5
  kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7THbc,10413
6
6
  kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
7
7
  kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
8
- kodexa/model/model.py,sha256=vVdz2W1LVXIZEtXFjdIZ3L4wxcGiQB--dQRUkN2VsRw,115491
8
+ kodexa/model/model.py,sha256=wsIWZ49SWoNFai3QlIgkZ1Ynq0RBdYP8xxush5dH9PA,115528
9
9
  kodexa/model/objects.py,sha256=LhxPUOH3krEuom6pHJhO1ukxWKzX8SxzUCfwGx3WQP0,174857
10
- kodexa/model/persistence.py,sha256=8VV3keo1otGZhc3YDDvcGJPpUq4nXzXRZWW4ahKnusU,61967
10
+ kodexa/model/persistence.py,sha256=sx5FwTSsWMdAZpAs0-6PqyULHkQyNQClApUKJZ-ly8M,62032
11
11
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
12
12
  kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
13
13
  kodexa/platform/__init__.py,sha256=1O3oiWMg292NPL_NacKDnK1T3_R6cMorrPRue_9e-O4,216
@@ -35,7 +35,7 @@ kodexa/testing/test_components.py,sha256=g5lP-GY0nTHuH5cIEw45vIejEeBaWkPKQGHL36j
35
35
  kodexa/testing/test_utils.py,sha256=DrLCkHxdb6AbZ-X3WmTMbQmnVIm55VEBL8MjtUK9POs,14021
36
36
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
37
37
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- kodexa-7.0.8618070181.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
- kodexa-7.0.8618070181.dist-info/METADATA,sha256=vLtt0iXLHkDlYa1M5f7LQ_UGHBCSPBvLxFYey5612SY,3493
40
- kodexa-7.0.8618070181.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
- kodexa-7.0.8618070181.dist-info/RECORD,,
38
+ kodexa-7.0.8664569946.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
+ kodexa-7.0.8664569946.dist-info/METADATA,sha256=GreSClEc5-Se4l5XzfiEbB7UItPREtTzmqUZJWzsF-U,3493
40
+ kodexa-7.0.8664569946.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
+ kodexa-7.0.8664569946.dist-info/RECORD,,