kodexa 7.0.7437128036__py3-none-any.whl → 7.0.7437514127__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/objects.py CHANGED
@@ -5216,12 +5216,14 @@ class Taxonomy(ExtensionPackProvided):
5216
5216
  guidance_tags = {}
5217
5217
  for taxon in taxons:
5218
5218
  new_tags = []
5219
- for example in taxon.examples:
5220
- new_tags.append(GuidanceTagResult(
5221
- value=example.value, line_uuids=example.line_uuid
5222
- ))
5223
- guidance_tags[taxon.path] = new_tags
5224
- if len(taxon.children) > 0:
5219
+ if taxon.example is not None:
5220
+ for example in taxon.examples:
5221
+ new_tags.append(GuidanceTagResult(
5222
+ value=example.value, line_uuids=example.line_uuid
5223
+ ))
5224
+ guidance_tags[taxon.path] = new_tags
5225
+
5226
+ if taxon.children is not None and len(taxon.children) > 0:
5225
5227
  self.build_guidance_tags(taxon.children, guidance_tags)
5226
5228
 
5227
5229
  return guidance_tags
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 7.0.7437128036
3
+ Version: 7.0.7437514127
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -6,7 +6,7 @@ kodexa/connectors/connectors.py,sha256=FpUZDkSyHld2b9eYRuVOWzaFtuGoaRuPXXicJB7TH
6
6
  kodexa/model/__init__.py,sha256=rtLXYJBxB-rnukhslN9rlqoB3--1H3253HyHGbD_Gc8,796
7
7
  kodexa/model/base.py,sha256=CaZK8nMhT1LdCpt4aLhebJGcorjq9qRID1FjnXnP14M,521
8
8
  kodexa/model/model.py,sha256=GIHdQkFhE2xu8oLBgSXhZ_bvECcnS6_qrqwCtSbqnZI,114148
9
- kodexa/model/objects.py,sha256=-R89SOQaWIZLKzZI06xyNSyxhayGYW9EuGzWoja5S0E,168803
9
+ kodexa/model/objects.py,sha256=JHzPIVqXD__2Lj8ksgVSKcte3qwKTsB-6f5rj_svjok,168897
10
10
  kodexa/model/persistence.py,sha256=TajtXfHp7dL85R5ui9A2h6rLMecDUr6OYZHVgm8CVJw,57360
11
11
  kodexa/pipeline/__init__.py,sha256=sA7f5D6qkdMrpp2xTIeefnrUBI6xxEEWostvxfX_1Cs,236
12
12
  kodexa/pipeline/pipeline.py,sha256=cIRFOoJkguIYgNzx6FYrODdBpcY25CM_SULsqSsHeXE,24323
@@ -34,7 +34,7 @@ kodexa/testing/test_components.py,sha256=4BnzCCOA5v__82mB1TIBPHfNIGJbkZz9PiTZiNK
34
34
  kodexa/testing/test_utils.py,sha256=IWLKBvMHATzrsoO9PQFGcwoGcuZykhAS3QRddfzb_XE,14043
35
35
  kodexa/training/__init__.py,sha256=xs2L62YpRkIRfslQwtQZ5Yxjhm7sLzX2TrVX6EuBnZQ,52
36
36
  kodexa/training/train_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- kodexa-7.0.7437128036.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
- kodexa-7.0.7437128036.dist-info/METADATA,sha256=iHrzND3DOJicf-1jLQ5LTxP3vCbtFQtq-ojQ735NYeU,4067
39
- kodexa-7.0.7437128036.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
- kodexa-7.0.7437128036.dist-info/RECORD,,
37
+ kodexa-7.0.7437514127.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
38
+ kodexa-7.0.7437514127.dist-info/METADATA,sha256=EGa6AHUrayR_8N8UetybBgaa2T8Padoswbhj-JEbCVg,4067
39
+ kodexa-7.0.7437514127.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
40
+ kodexa-7.0.7437514127.dist-info/RECORD,,