kodexa 7.0.8617907451__py3-none-any.whl → 7.0.8621391210__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"""
kodexa/model/objects.py CHANGED
@@ -1012,8 +1012,6 @@ class TaxonType(Enum):
1012
1012
  phone_number = "PHONE_NUMBER"
1013
1013
  selection = "SELECTION"
1014
1014
  section = "SECTION"
1015
- formula = "FORMULA"
1016
- derived = "DERIVED"
1017
1015
 
1018
1016
 
1019
1017
  class TaxonomyType1(Enum):
@@ -2659,8 +2657,6 @@ class Taxon(BaseModel):
2659
2657
 
2660
2658
  cardinality: Optional[TaxonCardinality] = None
2661
2659
 
2662
- is_formula: Optional[bool] = Field(None, alias="isFormula")
2663
-
2664
2660
  conditional_formats: Optional[List[TaxonConditionalFormat]] = Field(None, alias="conditionalFormats")
2665
2661
 
2666
2662
  def update_path(self, parent_path=None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.8617907451
3
+ Version: 7.0.8621391210
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -5,8 +5,8 @@ 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
9
- kodexa/model/objects.py,sha256=DMlysRKdcSKMnw2MDjYJNLyzuYp-u_IwWlh0aGOt5Jc,174970
8
+ kodexa/model/model.py,sha256=wsIWZ49SWoNFai3QlIgkZ1Ynq0RBdYP8xxush5dH9PA,115528
9
+ kodexa/model/objects.py,sha256=LhxPUOH3krEuom6pHJhO1ukxWKzX8SxzUCfwGx3WQP0,174857
10
10
  kodexa/model/persistence.py,sha256=8VV3keo1otGZhc3YDDvcGJPpUq4nXzXRZWW4ahKnusU,61967
11
11
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
12
12
  kodexa/pipeline/pipeline.py,sha256=ZYpJAWcwV4YRK589DUhU0vXGQlkNSj4J2TsGbYqTLjo,25221
@@ -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.8617907451.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
- kodexa-7.0.8617907451.dist-info/METADATA,sha256=GTPmJnef2h9JqWG4ra59ax4zY4xOnC0UH-H08777RgU,3493
40
- kodexa-7.0.8617907451.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
- kodexa-7.0.8617907451.dist-info/RECORD,,
38
+ kodexa-7.0.8621391210.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
39
+ kodexa-7.0.8621391210.dist-info/METADATA,sha256=HPMGlRfAZ-IArgZY6IFWwVZh2UzvvfV0OwAzx0thvXs,3493
40
+ kodexa-7.0.8621391210.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
41
+ kodexa-7.0.8621391210.dist-info/RECORD,,