pyegeria 1.5.1.1.45__py3-none-any.whl → 1.5.1.1.46__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.
- pyegeria/glossary_manager_omvs.py +14 -17
- {pyegeria-1.5.1.1.45.dist-info → pyegeria-1.5.1.1.46.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.45.dist-info → pyegeria-1.5.1.1.46.dist-info}/RECORD +6 -6
- {pyegeria-1.5.1.1.45.dist-info → pyegeria-1.5.1.1.46.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.45.dist-info → pyegeria-1.5.1.1.46.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.45.dist-info → pyegeria-1.5.1.1.46.dist-info}/entry_points.txt +0 -0
@@ -1581,11 +1581,19 @@ class GlossaryManager(GlossaryBrowser):
|
|
1581
1581
|
raise InvalidParameterException("Invalid headers in CSV File")
|
1582
1582
|
sys.exit(1)
|
1583
1583
|
|
1584
|
-
# process each row
|
1584
|
+
# process each row and validate values
|
1585
1585
|
for row in csv_reader:
|
1586
1586
|
# Parse the file. When the value '---' is encountered, make the value None.git+https:
|
1587
|
-
term_name = row.get("Term Name",
|
1588
|
-
if term_name
|
1587
|
+
term_name = row.get("Term Name", " ")
|
1588
|
+
if len(term_name) < 2:
|
1589
|
+
term_info.append(
|
1590
|
+
{
|
1591
|
+
"term_name": "---",
|
1592
|
+
"qualified_name": "---",
|
1593
|
+
"term_guid": "---",
|
1594
|
+
"error": "missing or invalid term names - skipping",
|
1595
|
+
}
|
1596
|
+
)
|
1589
1597
|
continue
|
1590
1598
|
qualified_name = row.get("Qualified Name", None)
|
1591
1599
|
abbrev_in = row.get("Abbreviation", None)
|
@@ -1605,20 +1613,6 @@ class GlossaryManager(GlossaryBrowser):
|
|
1605
1613
|
|
1606
1614
|
version = row.get("Version Identifier", "1.0")
|
1607
1615
|
status = row.get("Status", "DRAFT")
|
1608
|
-
print(row)
|
1609
|
-
status = status.upper()
|
1610
|
-
|
1611
|
-
# quality check the row
|
1612
|
-
if len(term_name) < 2:
|
1613
|
-
term_info.append(
|
1614
|
-
{
|
1615
|
-
"term_name": "---",
|
1616
|
-
"qualified_name": "---",
|
1617
|
-
"term_guid": "---",
|
1618
|
-
"error": "missing or invalid term names - skipping",
|
1619
|
-
}
|
1620
|
-
)
|
1621
|
-
continue
|
1622
1616
|
if self.__validate_term_status__(status) is False:
|
1623
1617
|
term_info.append(
|
1624
1618
|
{
|
@@ -1629,6 +1623,9 @@ class GlossaryManager(GlossaryBrowser):
|
|
1629
1623
|
}
|
1630
1624
|
)
|
1631
1625
|
continue
|
1626
|
+
|
1627
|
+
status = status.upper()
|
1628
|
+
|
1632
1629
|
if upsert:
|
1633
1630
|
# If upsert is set we need to see if it can be done (there must be a valid qualified name) and then
|
1634
1631
|
# do the update for the row - if there is no qualified name we will treat the row as an insert.
|
@@ -107,7 +107,7 @@ pyegeria/egeria_tech_client.py,sha256=7NfqpJFft5GR4NPRDVDw22L9caHbXB8fhx0TAf6qEo
|
|
107
107
|
pyegeria/feedback_manager_omvs.py,sha256=B66e3ZCaC_dirb0mcb2Nz3PYh2ZKsoMAYNOb3euNiro,152931
|
108
108
|
pyegeria/full_omag_server_config.py,sha256=LBnqUiz1ofBdlKBzECFs_pQbdJwcWigAukWHGJRR2nU,47340
|
109
109
|
pyegeria/glossary_browser_omvs.py,sha256=NcitYaZJqwVODBO5zBtWpXPNUJJ3DKzEbRaOFSAyUlg,93554
|
110
|
-
pyegeria/glossary_manager_omvs.py,sha256=
|
110
|
+
pyegeria/glossary_manager_omvs.py,sha256=kvh2xVbBTc3Rgl-SQeHQxARbKFZMBBsTc_leC2IAE4I,129648
|
111
111
|
pyegeria/mermaid_utilities.py,sha256=GXiS-subb5nJcDqlThZWX2T8WspU1neFfhf4TxRoMh4,8344
|
112
112
|
pyegeria/my_profile_omvs.py,sha256=DyECbUFEcgokrIbzdMMNljC3bqfqKGXAF2wZEpzvRYs,34666
|
113
113
|
pyegeria/platform_services.py,sha256=CJIOYIFEbcIGwdWlApAQcXxZTsdrhFtpJcm4O3p7dG0,41646
|
@@ -119,8 +119,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
119
119
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
120
120
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
121
121
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
122
|
-
pyegeria-1.5.1.1.
|
123
|
-
pyegeria-1.5.1.1.
|
124
|
-
pyegeria-1.5.1.1.
|
125
|
-
pyegeria-1.5.1.1.
|
126
|
-
pyegeria-1.5.1.1.
|
122
|
+
pyegeria-1.5.1.1.46.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
123
|
+
pyegeria-1.5.1.1.46.dist-info/METADATA,sha256=b9JE_CTS6RM81iw8AVOHYWtKAMw0QTn6fdEdSK9tfYw,2998
|
124
|
+
pyegeria-1.5.1.1.46.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
125
|
+
pyegeria-1.5.1.1.46.dist-info/entry_points.txt,sha256=GDsJt24awMzNAbVAWdMoeZTQb5oMcMCqjvIAemqOwVQ,5105
|
126
|
+
pyegeria-1.5.1.1.46.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|