pyegeria 5.4.0.dev7__py3-none-any.whl → 5.4.0.dev8__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.
@@ -1564,6 +1564,15 @@ def process_data_field_list_command(egeria_client: EgeriaTech, txt: str, directi
1564
1564
  search_string = attributes.get('Search String', {}).get('value', '*')
1565
1565
  output_format = attributes.get('Output Format', {}).get('value', 'LIST')
1566
1566
  detailed = attributes.get('Detailed', {}).get('value', False)
1567
+ as_of_time = attributes.get('AsOfTime', {}).get('value', None)
1568
+ effective_time = attributes.get('Effective Time', {}).get('value', None)
1569
+ sort_order = attributes.get('Sort Order', {}).get('value', None)
1570
+ order_property = attributes.get('Order Property', {}).get('value', None)
1571
+ starts_with = attributes.get('Start With', {}).get('value', True)
1572
+ ends_with = attributes.get('End With', {}).get('value', False)
1573
+ ignore_case = attributes.get('Ignore Case', {}).get('value', False)
1574
+ start_from = attributes.get('Start From', {}).get('value', 0)
1575
+ page_size = attributes.get('Page Size', {}).get('value', None)
1567
1576
 
1568
1577
  try:
1569
1578
  if not valid: # First validate the command before we process it
@@ -1572,7 +1581,19 @@ def process_data_field_list_command(egeria_client: EgeriaTech, txt: str, directi
1572
1581
  return None
1573
1582
 
1574
1583
  list_md = f"\n# `{object_type}` with filter: `{search_string}`\n\n"
1575
- struct = egeria_client.find_data_fields(search_string, output_format=output_format)
1584
+ body = {
1585
+ "class": "FilterRequestBody",
1586
+ "asOfTime": as_of_time,
1587
+ "effectiveTime": effective_time,
1588
+ "forLineage": False,
1589
+ "forDuplicateProcessing" : False,
1590
+ "limitResultsByStatus": ["ACTIVE"],
1591
+ "sequencingOrder": sort_order,
1592
+ "sequencingProperty": order_property,
1593
+ "filter": search_string,
1594
+ }
1595
+ struct = egeria_client.find_data_fields_w_body(body, start_from, page_size, starts_with,
1596
+ ends_with, ignore_case,output_format)
1576
1597
 
1577
1598
  if output_format == "DICT":
1578
1599
  list_md += f"```\n{json.dumps(struct, indent=4)}\n```\n"
File without changes