pyegeria 5.3.9.2__py3-none-any.whl → 5.3.9.3__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.
@@ -185,17 +185,18 @@ class GlossaryBrowser(Client):
185
185
 
186
186
  # Add common attributes
187
187
  for key, value in props.items():
188
- # Skip categories_names for FORM output and categories_qualified_names for REPORT output
189
- if key == 'categories_names' and output_format == 'FORM':
190
- continue
191
- if key == 'categories_qualified_names' and output_format == 'REPORT':
192
- continue
193
188
  if key not in ['guid', 'properties', 'display_name']:
194
- # Use "Categories" as the label for both categories_qualified_names and categories_names
195
- if key == 'categories_qualified_names' and output_format == 'FORM':
196
- elements_md += self.make_md_attribute("Categories", value, output_format)
197
- elif key == 'categories_names' and output_format == 'REPORT':
198
- elements_md += self.make_md_attribute("Categories", value, output_format)
189
+ # Handle categories based on output format
190
+ if key == 'categories_qualified_names':
191
+ if output_format == 'FORM':
192
+ elements_md += self.make_md_attribute("Category Names", value, output_format)
193
+ elif output_format != 'REPORT': # Include for all formats except REPORT
194
+ elements_md += self.make_md_attribute(key.replace('_', ' '), value, output_format)
195
+ elif key == 'categories_names':
196
+ if output_format == 'REPORT':
197
+ elements_md += self.make_md_attribute("Category Names", value, output_format)
198
+ elif output_format != 'FORM': # Include for all formats except FORM
199
+ elements_md += self.make_md_attribute(key.replace('_', ' '), value, output_format)
199
200
  else:
200
201
  elements_md += self.make_md_attribute(key.replace('_', ' '), value, output_format)
201
202
 
@@ -1021,7 +1021,7 @@ def process_glossary_upsert_command(egeria_client: EgeriaTech, txt: str, directi
1021
1021
  })
1022
1022
  # return update_a_command(txt, command, object_type, qualified_name, glossary_guid)
1023
1023
  print_msg(ALWAYS, f"Created Glossary `{glossary_name}` with GUID {glossary_guid}", debug_level)
1024
- return egeria_client.get_glossary_by_guid(glossary_guid, output_format='MD')
1024
+ return egeria_client.get_glossary_by_guid(glossary_guid, output_format='FORM')
1025
1025
  else:
1026
1026
  return None
1027
1027
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.9.2
3
+ Version: 5.3.9.3
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -226,11 +226,11 @@ pyegeria/egeria_my_client.py,sha256=eOKLk2zdI6FHZnhAimfR_0yNdBjpUgD41dJZcJODcqE,
226
226
  pyegeria/egeria_tech_client.py,sha256=uycgYfCpb4jzFfaQ7I5JxbZ5PKsWdaWxLOJjbw6C2Zk,3817
227
227
  pyegeria/feedback_manager_omvs.py,sha256=0xBs0p54vmdfVYYgQ8pOanLC4fxfgTk1Z61Y6D1U7_I,152978
228
228
  pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kKyjvpDA,47464
229
- pyegeria/glossary_browser_omvs.py,sha256=YoiTgqm5wdF1ly6d3fwSUagkxvwzANKv6PFcDvI6zKY,172548
229
+ pyegeria/glossary_browser_omvs.py,sha256=5codlrypv5b46JsJVruYDIWhPV53ocH1i9OmIC9UBEI,172655
230
230
  pyegeria/glossary_manager_omvs.py,sha256=aGYZFuzWrPmPLLNwkNpV7-FsalqwDR7gyBzgdubnM04,87989
231
231
  pyegeria/m_test.py,sha256=M5-M2ZczsAJLXWfSeqTTADHdx6Ku-y4PbQ4M21JthAE,7778
232
232
  pyegeria/md_processing_helpers.py,sha256=sV-ciVg_xOGVGTH_CMpH2B5k3V5jzdFp_XvnQQ5xafw,2131
233
- pyegeria/md_processing_utils.py,sha256=77k_5aDcrcZB_bxIuYA2nssvRYfB-0CxMgj4lfADH78,96844
233
+ pyegeria/md_processing_utils.py,sha256=yqkK8ne_cbsyeR_wQqXwcEZ2Tihcbj-PfnM8PFMb8kk,96846
234
234
  pyegeria/md_processing_utils_orig.py,sha256=64eVP86__zI4EdzwveskDyLiw6EyWJXZW4pqk9aLpuM,52486
235
235
  pyegeria/mermaid_utilities.py,sha256=sQqdFUWdNpHu9d3Tk9UVe80M-5bOzses0XcFYX5FF-E,54254
236
236
  pyegeria/metadata_explorer_omvs.py,sha256=xHnZTQKbd6XwOhYia-RiIisrvZcqHi0SL1l6OCf04Gk,86911
@@ -245,8 +245,8 @@ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDT
245
245
  pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
246
246
  pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
247
247
  pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
248
- pyegeria-5.3.9.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
249
- pyegeria-5.3.9.2.dist-info/METADATA,sha256=AGkUdX36k28Sor23eShJz3r_-tJ3ZmySZvQLpqfS4ns,2757
250
- pyegeria-5.3.9.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
251
- pyegeria-5.3.9.2.dist-info/entry_points.txt,sha256=eAvQ_vkejlF3JzMzEc5VD93ymLA_hSFV0HM8fntG-d8,6791
252
- pyegeria-5.3.9.2.dist-info/RECORD,,
248
+ pyegeria-5.3.9.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
249
+ pyegeria-5.3.9.3.dist-info/METADATA,sha256=FkTyMDLtBXCsMb0npUCHxICGYBxaZkagwC2FkvQFE_s,2757
250
+ pyegeria-5.3.9.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
251
+ pyegeria-5.3.9.3.dist-info/entry_points.txt,sha256=eAvQ_vkejlF3JzMzEc5VD93ymLA_hSFV0HM8fntG-d8,6791
252
+ pyegeria-5.3.9.3.dist-info/RECORD,,