diff --git a/commands/tech/gen_report_specs.py b/commands/tech/gen_report_specs.py index 938ffa0e..77aa4fbc 100644 --- a/commands/tech/gen_report_specs.py +++ b/commands/tech/gen_report_specs.py @@ -296,6 +296,47 @@ def _build_generated_formats(columns: List[Column], default_types: Optional[List return formats +# Report specs whose find method is a generic, all-types search. Each gets its command's own +# type from OM_TYPE (OpenMetadataRoot when the command has none), so the spec cannot list every +# element of the repository -- and with '*' Egeria refuses an untyped search outright. +GENERIC_SEARCH_METHODS = { + "ClassificationExplorer.find_elements_by_property_value", + "MetadataExpert.find_metadata_elements_with_string", +} +_TYPE_FILTER_KEYS = {"metadata_element_type", "metadata_element_subtypes", "include_only_classified_elements", + "classification_names"} +GENERIC_PROPERTY_NAMES = ["displayName", "qualifiedName"] +TECHNOLOGY_COLUMN = Column(name="Deployed Implementation Type", key="deployed_implementation_type") + + +def _technology_for_command(cmd_key: str) -> Optional[str]: + """The deployed implementation type a Create command's element is made with, from the same + table Dr.Egeria's create-from-template calls use ("Create UC Table Element" -> "uc_table").""" + from pyegeria.omvs.automated_curation import ELEMENT_TEMPLATE_TECHNOLOGY + + m = re.fullmatch(r"Create (.+) Element", cmd_key.strip()) + if not m: + return None + return ELEMENT_TEMPLATE_TECHNOLOGY.get(re.sub(r"\s+", "_", m.group(1).strip().lower())) + + +def _generic_search_constraints(cmd_key: str, cmd_obj: dict, find_method: str, constraints: dict) -> dict: + """spec_params for a generic-search spec: the command's type (and technology), derived here.""" + if find_method not in GENERIC_SEARCH_METHODS: + return constraints + out = dict(constraints or {}) + if not _TYPE_FILTER_KEYS & set(out): + out["metadata_element_type"] = (cmd_obj.get("OM_TYPE") or "").strip() or "OpenMetadataRoot" + if find_method.startswith("ClassificationExplorer."): + out.setdefault("property_names", list(GENERIC_PROPERTY_NAMES)) + technology = _technology_for_command(cmd_key) + if technology: + # A default, not a pin: the run parameter deployed_implementation_type (declared optional, + # so the Portal's run form shows it) overrides it, and "*" means any technology. + out.setdefault("default_deployed_implementation_type", technology) + return out + + def _derive_target_type(cmd_key: str, cmd_obj: dict) -> str: display_name = str(cmd_obj.get("display_name", "")).strip() if isinstance(cmd_key, str): @@ -395,7 +436,11 @@ def build_format_sets_from_commands( continue find_method = cmd_obj.get("find_method") or "" - constraints = _safe_parse_constraints(cmd_obj.get("find_constraints")) + constraints = _generic_search_constraints( + cmd_key, cmd_obj, find_method, _safe_parse_constraints(cmd_obj.get("find_constraints"))) + technology_spec = "default_deployed_implementation_type" in constraints + if technology_spec and all(c.key != TECHNOLOGY_COLUMN.key for c in columns): + columns = [*columns, Column(**TECHNOLOGY_COLUMN.model_dump())] extra_find = cmd_obj.get("extra_find") or "" extra_constraints = _safe_parse_constraints(cmd_obj.get("extra_constraints")) action = None @@ -406,7 +451,8 @@ def build_format_sets_from_commands( action = ActionParameter( function=find_method or None, required_params=["search_string"] if find_method else [], - optional_params=OPTIONAL_SEARCH_PARAMS if find_method else [], + optional_params=([*OPTIONAL_SEARCH_PARAMS, "deployed_implementation_type"] + if technology_spec else OPTIONAL_SEARCH_PARAMS) if find_method else [], spec_params=constraints or {}, analytic_function=extra_find or None, analytic_spec_params=(extra_constraints or {}) if extra_find else {}, diff --git a/commands/tech/list_related_elements_with_prop_value.py b/commands/tech/list_related_elements_with_prop_value.py index 776c3e9f..9fb11ddb 100644 --- a/commands/tech/list_related_elements_with_prop_value.py +++ b/commands/tech/list_related_elements_with_prop_value.py @@ -88,7 +88,7 @@ def generate_table() -> Table: relationship_type, property_value, property_names, - metadata_element_type_name=om_type, + metadata_element_type=om_type, ) if type(elements) is list: diff --git a/docs/release-notes/6.2.28.md b/docs/release-notes/6.2.28.md index 35abea96..535357b4 100644 --- a/docs/release-notes/6.2.28.md +++ b/docs/release-notes/6.2.28.md @@ -85,3 +85,107 @@ See [Counts: not measured, and whose population](../output-formats-and-report-sp any listed actor, instead of reporting "Operation completed". - If only some listed actors have no relationship, it detaches the others and warns about the rest. + + + +## Search and get filters: universal, checked, documented + +- **Every `find_*` / `get_*` takes the standard filters as keyword arguments.** Each public + method that sends a request body to Egeria (509 of them, sync and async) accepts `**kwargs` and + passes them to the shared request helper. Signatures are unchanged apart from that. Methods + that previously could not filter now can — including `DataDesigner.find_all_data_structures` + / `find_all_data_fields`, `RuntimeManager.get_platforms_by_name` / `get_servers_by_name` and + the other runtime lookups, `CollectionManager.get_collection_hierarchy` / `get_member_list`, + and the get-by-GUID family (`GetFilters` now reach `GetRequestBody`; before, a filter + keyword on a get-by-GUID was silently dropped). For example: + + ```python + client.find_data_value_specifications("*", metadata_element_subtypes=["DataClass"]) + ``` + +- **Filter names are checked.** An unknown name warns with `UnknownFilterWarning` (a + `UserWarning`, also logged at WARNING), naming the bad key and listing the valid ones, and is + left out of the request. The valid names come from the request-body model the call sends + (`SearchStringRequestBody`, `FilterRequestBody`, `GetRequestBody`, ...). Report specs' + `spec_params` go through the same check, so a typo in a spec warns too. + **A future release will raise `TypeError` instead of warning** — fix any warnings now. +- **Typed filters (PEP 692).** `SearchFilters`, `ListFilters`, `GetFilters` and `FindFilters` + (in `pyegeria.core.request_filters`) are `TypedDict`s with a description per field. Methods + annotate `**kwargs: Unpack[...]` so editors complete the filter names. Methods that already + name some filters as explicit parameters keep a plain `**kwargs` (PEP 692 forbids the overlap); + their filters still pass through and are checked. +- **Docs:** [Search and get filters](../search-and-get-filters.md) — the full tables, which + Egeria request body each maps to, and examples. + +- **One name for the type filters.** Every method now spells them `metadata_element_type` + and `metadata_element_subtypes` (135 signatures renamed, mostly from + `metadata_element_type_name`; also `metadata_element_sub_type`, `metadata_element_subtype`, + `metadata_element_subtype_names`, `metadata_element_name`). The old spellings still work, with + a `DeprecationWarning` naming the new one; giving old and new with different values raises + `TypeError`. Report specs using the old names keep working without warnings. + +- **Generic-search report specs name their type.** The 40 Dr.Egeria `*-DrE-*` specs that + called `MetadataExpert.find_metadata_elements_with_string` with no type (Embedded-Process, + Report, Schema-Type, the Asset Maker `*-Element-DrE-*` specs, ...) now call + `ClassificationExplorer.find_elements_by_property_value` with their command's own type, which + the generator takes from the command's `OM_TYPE` (`OpenMetadataRoot` for the generic Element + command). `'*'` used to fail ("searchString is null"); it now lists the elements of that type. + A search string used to match every type; it now matches only that type. + - The 9 technology commands (Kafka, Postgres server/database, the Unity Catalog elements) also + pass their `deployedImplementationType` (from the same table Dr.Egeria's create-from-template + calls use). Egeria ANDs "technology equals" with the name search in one query, so these + reports list exactly that technology for `'*'` and for a search string (a "Databricks Unity + Catalog Server" is not a "Unity Catalog Server"); they show a *Deployed Implementation Type* + column. + The technology is an optional run parameter, `deployed_implementation_type`, defaulting to the + spec's own: `"*"` searches every element of the type (any technology), any other value is an + exact match on that technology (ignoring case). + - `'*'` with no type or a root type (`OpenMetadataRoot`, `Referenceable`) is refused: "give a + search string or a narrower type" (a whole-repository listing helped run the quickstart + platform out of heap on 2026-11-09). So `Element-DrE-*` works only with a search string. + - `'*'` lists a type at most 100 elements per call (the caller's `page_size`, default 100); + page on with `start_from`. +- **A misspelt report parameter warns.** `run_report` / `exec_report_spec` drop a caller's + parameter the report does not take; they now say so with `UnknownFilterWarning`. When a + caller's parameter collides with the spec's `spec_params`, the spec's value wins (unchanged). + +### Behaviour changes: some reports now return fewer rows + +These reports used to ignore part of their filter and list everything; they now return only +what they are named for. Row counts are from the quickstart demo (live reads, 2026-11-09): + +| Report spec (Basic and Advanced) | Before | Now | +|---|---|---| +| `Cited-Document-DrE-*` | 87 (every external reference) | 2 | +| `Related-Media-DrE-*` | 87 | 4 | +| `External-Data-Source-DrE-*`, `External-Model-Source-DrE-*`, `External-Source-Code-DrE-*`, `External-Standard-DrE-*` | 87 each | 0 | +| `Question-DrE-*` | failed with `TypeError` (and would have listed 1000+ glossary terms) | 152 | +| `Data-Sharing-Agreement-DrE-*` (`find_collections`) | 1000+ (every collection) | 598 (Agreements classified DataSharingAgreement) | +| `Digital-Product-Catalog-DrE-*` (`find_collections`) | 1000+ (every collection) | 3 | + +- **`classification_names` on a find now filters.** It is sent as + `includeOnlyClassifiedElements` (it already meant that on a by-name get). Before, a find + dropped it silently. So the two Dr.Egeria specs that pass `classification_names` to + `find_collections` return fewer rows than before. `Data-Sharing-Agreement-DrE-*` now lists + only Agreements classified DataSharingAgreement. `Digital-Product-Catalog-DrE-*` passed + `classification_names: ["DigitalProductCatalog"]`, but `DigitalProductCatalog` is a type, not a + classification; its Dr.Egeria `find_constraints` now uses `metadata_element_type`, so it lists + the 3 catalogs instead of every collection. The project-family specs + (Campaign etc.) already used `include_only_classified_elements` and are unchanged. +- **The external-reference and Question specs now return only their own type.** Their + Dr.Egeria `find_constraints` named filters the method did not have + (`metadata_element_types`, `classification`); they now use `metadata_element_type` and + `include_only_classified_elements: ["Question"]`, and the report specs were regenerated. + Dr.Egeria command processing is unchanged (it reads the singular type key the same way). +- **A hard-coded filter no longer collides with yours.** 58 call sites passed a filter such as + `metadata_element_type` explicitly beside `**kwargs`, so passing that filter raised + `TypeError: got multiple values` (this is why `Question-DrE-*` failed). The built-in value is + now a default that a caller's keyword overrides. + +### Other changes to check + +- A filter given as `None` never overrides a method's own default. +- `MetadataExpert.find_metadata_elements` builds its default body from any `FindRequestBody` + field given as a keyword (before: a fixed subset). +- Every built-in report spec's `spec_params` is now checked by a micro-test against the method + it calls. diff --git a/docs/search-and-get-filters.md b/docs/search-and-get-filters.md new file mode 100644 index 00000000..73192b77 --- /dev/null +++ b/docs/search-and-get-filters.md @@ -0,0 +1,268 @@ +# Search and get filters + +Every pyegeria `find_*` and `get_*` method that sends a request body to Egeria accepts the +standard **filters** as keyword arguments, and passes them to one shared request helper. The +signatures stay short: a method lists its everyday parameters (`search_string`, `start_from`, +`page_size`, `output_format`, `report_spec`, `body` ...) and takes the rest through `**kwargs`. + +```python +from pyegeria import EgeriaTech + +client = EgeriaTech("qs-view-server", "https://localhost:9443", "erinoverview", "secret") +client.create_egeria_bearer_token() + +# Only the DataClass subtype of DataValueSpecification: +data_classes = client.find_data_value_specifications( + "*", metadata_element_subtypes=["DataClass"], +) + +# Glossary terms that are ACTIVE, newest first, as they were on 1 March: +terms = client.find_glossary_terms( + "customer", + limit_results_by_status=["ACTIVE"], + sequencing_order="CREATION_DATE_RECENT", + as_of_time="2026-03-01T00:00:00Z", +) + +# A get-by-GUID that leaves the noisy relationships out of the returned graph: +spec = client.get_data_value_specification_by_guid( + guid, skip_relationships=["SemanticAssignment"], graph_query_depth=1, +) + +# A by-name lookup restricted to elements anchored in one glossary: +fields = client.get_data_fields_by_name("customer id", anchor_guid=glossary_guid) +``` + +## Which filters a method accepts + +There are three request kinds, each with its own Egeria request body, and so its own filter set: + +| Methods | Filter set | Egeria request body | +|---|---|---| +| `find_*` | `SearchFilters` | `SearchStringRequestBody` (or `FindPropertyNamesProperties` when `property_names` is given) | +| `get_*_by_name` and other list gets | `ListFilters` | `FilterRequestBody` / `ResultsRequestBody` | +| `get_*_by_guid` and other single-element gets | `GetFilters` | `GetRequestBody` | +| `find_metadata_elements`, `find_root_elements` | `FindFilters` | `FindRequestBody` | + +`SearchFilters` ⊃ `ListFilters` ⊃ `GetFilters`: a search accepts everything a list does, +and a list everything a get does. Each method's docstring has one line naming its set. + +The sets are PEP 692 `TypedDict`s in `pyegeria.core.request_filters`. Where a method's +signature is `**kwargs: Unpack[SearchFilters]`, your editor completes the filter names and +shows each one's description. + +The activity-, content- and deployment-status finds (for example `find_digital_products`) +accept the same filters plus their own explicit status-list parameter. + +### One name for the type filters + +Since 6.2.28 every method spells the element-type filters the same way: +`metadata_element_type` (one type name) and `metadata_element_subtypes` (a list). The older +spellings (`metadata_element_type_name`, `metadata_element_subtype_names`, +`metadata_element_sub_type`, `metadata_element_subtype`, `metadata_element_name`) still work, +with a `DeprecationWarning` naming the new one. A lone string given for a subtype list becomes +a one-item list. Giving the old and the new name with different values raises `TypeError`, +because pyegeria cannot tell which you meant. + +```python +explorer.find_elements_by_property_value("pump", ["displayName"], + metadata_element_type="EmbeddedProcess") +``` + +Report specs and Dr.Egeria parameter lists may still use the old spellings; the report +executor renames them quietly. + +### Filters are checked + +The names you pass are checked against the fields of the request body that call sends — the +check is derived from pyegeria's request-body models, not a hand-kept list. An unknown name +(usually a typo) is **ignored with a warning**: + +```text +UnknownFilterWarning: DataDesigner.find_data_value_specifications: unknown filter +'metadata_element_subtipes' ignored. Valid filters for this request: anchor_domain, +anchor_guid, ... metadata_element_subtypes, metadata_element_type, ... +``` + +`UnknownFilterWarning` is a `UserWarning`, so it shows by default. The same message goes to +pyegeria's log (loguru, level WARNING), so it is not lost where stderr is not visible (the +Egeria portal, the MCP server). A filter that exists but does not apply to the request (for +example `anchor_guid` on a get-by-GUID, which `GetRequestBody` has no field for) warns too. + +To turn the warnings into errors now, for example in tests: + +```python +import warnings +from pyegeria.core.request_filters import UnknownFilterWarning + +warnings.simplefilter("error", UnknownFilterWarning) +``` + +**Plan:** pyegeria 6.2.28 warns. A later release will raise `TypeError` for an unknown +filter name instead. Fix any warnings you see now. + +### Report specs + +A report spec's `spec_params` (and the parameters a caller passes to `run_report` / +`exec_report_spec`) go into the same `**kwargs`, so a typo there warns in the same way — +through the report executor, with the method's name in the message: + +```python +"Data-Classes": FormatSet( + ..., + action=ActionParameter( + function="DataDesigner.find_data_value_specifications", + required_params=["search_string"], + spec_params={"metadata_element_subtypes": ["DataClass"]}, + ), +) +``` + +### Which wins: a report spec's `spec_params` or the caller's parameters + +A report spec's `spec_params` are pinned: when a caller passes the same parameter to +`run_report` / `exec_report_spec`, **the spec's value wins** (the spec is what the report *is*; +see the design note §9.13). A caller's parameter that the report does not take at all is +dropped, and now says so with an `UnknownFilterWarning` naming it and listing what the report +does take. + +### Generic searches name a type + +`ClassificationExplorer.find_elements_by_property_value` searches `property_names` (for report +specs: `displayName` and `qualifiedName`) within `metadata_element_type`. + +- `'*'` with a type lists the elements of that type (it calls `get_elements`), one page at a + time: the caller's `page_size`, 100 when none is given, never more than 100 per call — page on + with `start_from`. `'*'` with no type, or with a root type (`OpenMetadataRoot`, + `Referenceable`), is refused: "give a search string or a narrower type". +- `deployed_implementation_type="PostgreSQL Server"` restricts the search to exactly that + technology within the type. Egeria evaluates it in one complex query: + `deployedImplementationType` **equals** the technology (ignoring case, so `"postgresql server"` works), **and**, for a search string other than + `'*'`, one of `property_names` matches it (`starts_with` / `ends_with` / `ignore_case` choose the + operator: STARTS_WITH, ENDS_WITH, EQ or LIKE (contains), case-insensitive variants with + `ignore_case`). So a Postgres-Server report never lists a Kafka server or a "Databricks Unity + Catalog Server", and paging stays exact. The technology report specs also show a *Deployed + Implementation Type* column. +- In the technology report specs (Kafka, Postgres server/database, Unity Catalog ...) the + technology is a **run parameter**, `deployed_implementation_type`, whose default is the spec's + own technology (the spec pins it as `default_deployed_implementation_type`): + - not given → the spec's technology, matched exactly; + - `"*"` → any technology: the report lists or searches every element of its type (e.g. every + `SoftwareServer`); `'*'` as the search string still lists at most 100 per call, and a root type + is still refused; + - any other value → that technology, matched exactly. + +`MetadataExpert.find_metadata_elements_with_string("*")` with no type is refused with +"give a search string or a type" instead of passing Egeria's "searchString is null" through. + +### Notes + +- `None` means "not set": a filter passed as `None` never overrides the method's own default. +- When you pass a complete `body=`, the body is sent as given and the filter keywords are not + merged into it (their names are still checked). +- `metadata_element_subtypes` is honoured by searches and lists. Egeria ignores it on a + get-by-GUID (Egeria moved it from `GetOptions` to `QueryOptions`); it is still accepted there. +- Some older methods name a filter explicitly in their signature (for example + `metadata_element_type`, `skip_relationships`). Those parameters work as before. PEP 692 does + not allow a `TypedDict` key to repeat a named parameter, so those methods keep a plain + `**kwargs` annotation; the filters still pass through and are still checked. + +## Filter reference + +The tables below are generated from `pyegeria.core.request_filters` (a micro-test fails if +they drift). The "Wire name" is the field name in the JSON request body Egeria receives. + + +### `GetFilters` + +Used by get_*_by_guid and other single-element gets. Maps to `GetRequestBody`. + +| Filter | Type | Wire name | Meaning | +|---|---|---|---| +| `metadata_element_type` | `str` | `metadataElementTypeName` | Restrict results to this open metadata type (and its subtypes), e.g. `"DataClass"`. | +| `metadata_element_subtypes` | `list[str]` | `metadataElementSubtypeNames` | Only return elements of these subtypes, e.g. `["DataClass"]`. Honoured on searches and lists; Egeria ignores it on a get-by-GUID. | +| `skip_relationships` | `list[str]` | `skipRelationships` | Relationship type names to leave out of each element's related-element graph. | +| `include_only_relationships` | `list[str]` | `includeOnlyRelationships` | Only include these relationship type names in each element's related-element graph. | +| `skip_classified_elements` | `list[str]` | `skipClassifiedElements` | Leave out elements that carry any of these classifications. | +| `include_only_classified_elements` | `list[str]` | `includeOnlyClassifiedElements` | Only return elements that carry one of these classifications. | +| `max_mermaid_node_count` | `int` | `maxMermaidNodeCount` | Largest number of nodes Egeria draws in the returned Mermaid graph. | +| `governance_zone_filter` | `list[str]` | `governanceZoneFilter` | Only return elements in these governance zones. | +| `as_of_time` | `datetime \| str` | `asOfTime` | Query the repository as it was at this time (ISO-8601 string or datetime). | +| `effective_time` | `datetime \| str` | `effectiveTime` | Only return elements (and relationships) effective at this time. | +| `relationship_page_size` | `int` | `relationshipsPageSize` | Page size for the relationships returned with each element (0 = server default). | +| `for_lineage` | `bool` | `forLineage` | Include elements marked Memento (deleted but kept for lineage). | +| `for_duplicate_processing` | `bool` | `forDuplicateProcessing` | Return duplicates as stored, without deduplication processing. | +| `external_source_guid` | `str` | `externalSourceGUID` | GUID of the external metadata source the request is made on behalf of. | +| `external_source_name` | `str` | `externalSourceName` | Qualified name of the external metadata source the request is made on behalf of. | +| `request_id` | `str` | `requestId` | Caller-supplied id echoed in Egeria's audit log for tracing the request. | + +### `ListFilters` + +Used by get_*_by_name and other list gets. Maps to `FilterRequestBody` (by name) / `ResultsRequestBody`. Everything in `GetFilters`, plus: + +| Filter | Type | Wire name | Meaning | +|---|---|---|---| +| `anchor_guid` | `str` | `anchorGUID` | Only return elements anchored to the element with this GUID. | +| `anchor_domain` | `str` | `anchorDomainName` | Only return elements whose anchor is in this domain (an open metadata type name). | +| `anchor_scope_guid` | `str` | `anchorScopeGUID` | Only return elements whose anchor scope is the element with this GUID. | +| `limit_results_by_status` | `list[str]` | `limitResultsByStatus` | Only return elements whose status is one of these, e.g. `["ACTIVE", "DRAFT"]`. | +| `sequencing_order` | `str` | `sequencingOrder` | Order of the results; `PROPERTY_ASCENDING`/`PROPERTY_DESCENDING` need `sequencing_property`. | +| `sequencing_property` | `str` | `sequencingProperty` | Property name to sort on when `sequencing_order` is a PROPERTY_* order. | + +### `SearchFilters` + +Used by find_*. Maps to `SearchStringRequestBody` / `FindPropertyNamesRequestBody`. Everything in `ListFilters`, plus: + +| Filter | Type | Wire name | Meaning | +|---|---|---|---| +| `property_names` | `list[str]` | `propertyNames` | Search only these properties (switches the request to `FindPropertyNamesProperties`). | + +### `FindFilters` + +Used by the complex-query finds (find_metadata_elements, find_root_elements). Maps to `FindRequestBody`. Everything in `ListFilters`, plus: + +| Filter | Type | Wire name | Meaning | +|---|---|---|---| +| `search_properties` | `dict` | `searchProperties` | A `SearchProperties` structure: property conditions the elements must match. | +| `match_classifications` | `dict` | `matchClassifications` | A `MatchClassifications` structure: classification conditions the elements must match. | +| `skip_subtypes` | `bool` | `skipSubtypes` | When true, `metadata_element_subtypes` lists subtypes to EXCLUDE rather than the only ones to include. | + +### Call parameters (explicit on the method, also accepted as filters) + +| Request body | Parameters | +|---|---| +| `GetRequestBody` | `graph_query_depth` | +| `ResultsRequestBody` | `graph_query_depth`, `page_size`, `start_from` | +| `FilterRequestBody` | `filter_string`, `graph_query_depth`, `page_size`, `start_from` | +| `SearchStringRequestBody` | `ends_with`, `graph_query_depth`, `ignore_case`, `page_size`, `property_value`, `search_string`, `start_from`, `starts_with` | +| `FindRequestBody` | `graph_query_depth`, `page_size`, `start_from` | + +### Other accepted spellings + +| You may write | Same as | +|---|---| +| `metadata_element_type` | `metadata_element_type_name` | +| `metadata_element_subtypes` | `metadata_element_subtype_names` | +| `anchor_domain` | `anchor_domain_name` | +| `relationship_page_size` | `relationships_page_size` | +| `classification_names` | `include_only_classified_elements` | +| `limit_result_by_status` | `limit_results_by_status` | +| `sort_order` | `sequencing_order` | +| `output_sort_order` | `sequencing_order` | +| `order_property_name` | `sequencing_property` | +| `anchor_scope_id` | `anchor_scope_guid` | + +### Deprecated spellings + +These still work, with a `DeprecationWarning` naming the new name. Giving both the old and the new name with different values raises `TypeError`. + +| Deprecated | Use | +|---|---| +| `metadata_element_type_name` | `metadata_element_type` | +| `metadata_element_name` | `metadata_element_type` | +| `metadata_element_subtype_names` | `metadata_element_subtypes` | +| `metadata_element_sub_type` | `metadata_element_subtypes` | +| `metadata_element_subtype` | `metadata_element_subtypes` | + +Each model field's camelCase wire name (e.g. `metadataElementSubtypeNames`) is accepted as well. These rendering options are passed through to output formatting and are not warned about: `filter_string`, `include_children`, `include_peers`, `include_preamble`, `max_depth`, `refresh_spec`, `report_format`, `search_string`. + diff --git a/md_processing/data/compact_commands/commands_action_author.json b/md_processing/data/compact_commands/commands_action_author.json index 80bc4adb..c75259fb 100644 --- a/md_processing/data/compact_commands/commands_action_author.json +++ b/md_processing/data/compact_commands/commands_action_author.json @@ -3139,7 +3139,7 @@ "upsert": true, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", diff --git a/md_processing/data/compact_commands/commands_asset_maker_compact.json b/md_processing/data/compact_commands/commands_asset_maker_compact.json index 49506ccc..60b873e7 100644 --- a/md_processing/data/compact_commands/commands_asset_maker_compact.json +++ b/md_processing/data/compact_commands/commands_asset_maker_compact.json @@ -604,7 +604,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -632,7 +632,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -656,7 +656,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -684,7 +684,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -712,7 +712,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -740,7 +740,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -765,7 +765,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -790,7 +790,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -814,7 +814,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -839,7 +839,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -868,7 +868,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -894,7 +894,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", diff --git a/md_processing/data/compact_commands/commands_automation_compact.json b/md_processing/data/compact_commands/commands_automation_compact.json index 117facbd..c1d7f643 100644 --- a/md_processing/data/compact_commands/commands_automation_compact.json +++ b/md_processing/data/compact_commands/commands_automation_compact.json @@ -846,7 +846,7 @@ "upsert": false, "attach": false, "level": "Advanced", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", diff --git a/md_processing/data/compact_commands/commands_digital_products_compact.json b/md_processing/data/compact_commands/commands_digital_products_compact.json index bdc3e1f7..a049e4c2 100644 --- a/md_processing/data/compact_commands/commands_digital_products_compact.json +++ b/md_processing/data/compact_commands/commands_digital_products_compact.json @@ -3024,7 +3024,7 @@ "attach": false, "level": "Basic", "find_method": "CollectionManager.find_collections", - "find_constraints": "{\"classification_names\": [\"DigitalProductCatalog\"]}", + "find_constraints": "{\"metadata_element_type\": \"DigitalProductCatalog\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "DigitalProductCatalog", diff --git a/md_processing/data/compact_commands/commands_external_references_compact.json b/md_processing/data/compact_commands/commands_external_references_compact.json index 855a4802..974a8231 100644 --- a/md_processing/data/compact_commands/commands_external_references_compact.json +++ b/md_processing/data/compact_commands/commands_external_references_compact.json @@ -3033,7 +3033,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"ExternalDataSource\"]}", + "find_constraints": "{\"metadata_element_type\": \"ExternalDataSource\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "ExternalDataSource", @@ -3052,7 +3052,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"ExternalModelSource\"]}", + "find_constraints": "{\"metadata_element_type\": \"ExternalModelSource\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "ExternalModelSource", @@ -3071,7 +3071,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"ExternalSourceCode\"]}", + "find_constraints": "{\"metadata_element_type\": \"ExternalSourceCode\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "ExternalSourceCode", @@ -3092,7 +3092,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"RelatedMedia\"]}", + "find_constraints": "{\"metadata_element_type\": \"RelatedMedia\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "RelatedMedia", @@ -3111,7 +3111,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"CitedDocument\"]}", + "find_constraints": "{\"metadata_element_type\": \"CitedDocument\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "CitedDocument", @@ -3198,7 +3198,7 @@ "attach": false, "level": "Basic", "find_method": "ExternalReferences.find_external_references", - "find_constraints": "{\"metadata_element_types\": [\"ExternalStandard\"]}", + "find_constraints": "{\"metadata_element_type\": \"ExternalStandard\"}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "ExternalStandard", diff --git a/md_processing/data/compact_commands/commands_glossary_compact.json b/md_processing/data/compact_commands/commands_glossary_compact.json index 19c5b395..10a745be 100644 --- a/md_processing/data/compact_commands/commands_glossary_compact.json +++ b/md_processing/data/compact_commands/commands_glossary_compact.json @@ -2992,7 +2992,7 @@ "attach": false, "level": "Basic", "find_method": "GlossaryManager.find_glossary_terms", - "find_constraints": "{\"metadata_element_type\": \"GlossaryTerm\", \"classification\": \"Question\"}", + "find_constraints": "{\"metadata_element_type\": \"GlossaryTerm\", \"include_only_classified_elements\": [\"Question\"]}", "extra_find": "", "extra_constraints": "", "OM_TYPE": "GlossaryTerm", diff --git a/md_processing/data/compact_commands/commands_report_compact.json b/md_processing/data/compact_commands/commands_report_compact.json index b4d65d91..3ae0059c 100644 --- a/md_processing/data/compact_commands/commands_report_compact.json +++ b/md_processing/data/compact_commands/commands_report_compact.json @@ -1297,7 +1297,7 @@ "upsert": true, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -1375,7 +1375,7 @@ "upsert": true, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", diff --git a/md_processing/data/compact_commands/commands_schema_maker_compact.json b/md_processing/data/compact_commands/commands_schema_maker_compact.json index bf602328..8c2a92e1 100644 --- a/md_processing/data/compact_commands/commands_schema_maker_compact.json +++ b/md_processing/data/compact_commands/commands_schema_maker_compact.json @@ -1339,7 +1339,7 @@ "upsert": true, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -1358,7 +1358,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -1377,7 +1377,7 @@ "upsert": true, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", @@ -1396,7 +1396,7 @@ "upsert": false, "attach": false, "level": "Basic", - "find_method": "MetadataExpert.find_metadata_elements_with_string", + "find_method": "ClassificationExplorer.find_elements_by_property_value", "find_constraints": "", "extra_find": "", "extra_constraints": "", diff --git a/md_processing/data/generated_format_sets.json b/md_processing/data/generated_format_sets.json index 12d3e1bb..b8ea614a 100644 --- a/md_processing/data/generated_format_sets.json +++ b/md_processing/data/generated_format_sets.json @@ -7501,7 +7501,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -7517,7 +7517,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "EmbeddedProcess", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -8836,7 +8842,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -8852,7 +8858,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "EmbeddedProcess", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -23739,7 +23751,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -23755,7 +23767,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SecretsCollection", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -24046,7 +24064,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -24062,7 +24080,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SecretsCollection", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -24113,6 +24137,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -24147,6 +24179,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] }, @@ -24186,6 +24226,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -24220,12 +24268,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -24239,9 +24295,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Apache Kafka Server" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -24292,6 +24356,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -24326,6 +24398,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] }, @@ -24365,6 +24445,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -24399,12 +24487,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -24418,9 +24514,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Apache Kafka Server" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -24711,7 +24815,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -24727,7 +24831,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "CSVFile", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -25018,7 +25128,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -25034,7 +25144,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "CSVFile", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -25110,6 +25226,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25176,6 +25300,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25254,6 +25386,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -25320,12 +25460,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -25339,9 +25487,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "PostgreSQL Server" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -25417,6 +25573,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25483,6 +25647,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25561,121 +25733,145 @@ "format": false, "detail_spec": null, "valid_values": [] - } - ], - "columns": [ - { - "name": "Postgres Server Name", - "key": "postgres_server", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Host Name", - "key": "host_name", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Port", - "key": "port", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Secrets Store Path Name", - "key": "secrets_store_path_name", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Secrets Collection Name", - "key": "secrets_collection_name", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Resource Name", - "key": "resource_name", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Version Identifier", - "key": "version_identifier", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] }, { - "name": "Description", - "key": "description", + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", "value": null, "format": false, "detail_spec": null, - "valid_values": [] + "valid_values": null } - ] - } - ], - "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", - "required_params": [ - "search_string" - ], - "optional_params": [ - "sequencing_order", - "sequencing_property", - "page_size", - "start_from", - "starts_with", - "ends_with", - "ignore_case", - "classification_names", - "metadata_element_subtypes", - "metadata_element_type" - ], - "spec_params": {}, - "analytic_function": null, - "analytic_spec_params": {} - }, - "get_additional_props": null, - "question_spec": null - }, - "Postgres-Database-Element-DrE-Basic": { - "target_type": "Postgres Database Element", - "heading": "Postgres-Database-Element-DrE-Basic Attributes", - "description": "Auto-generated format for Postgres Database Element (Create, Basic).", - "aliases": [], - "annotations": {}, - "family": "Asset Maker", - "formats": [ - { - "types": [ - "LIST" ], - "attributes": [ - { - "name": "Postgres Database Name", - "key": "postgres_database", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, + "columns": [ + { + "name": "Postgres Server Name", + "key": "postgres_server", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Host Name", + "key": "host_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Port", + "key": "port", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Secrets Store Path Name", + "key": "secrets_store_path_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Secrets Collection Name", + "key": "secrets_collection_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Resource Name", + "key": "resource_name", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + } + ] + } + ], + "action": { + "function": "ClassificationExplorer.find_elements_by_property_value", + "required_params": [ + "search_string" + ], + "optional_params": [ + "sequencing_order", + "sequencing_property", + "page_size", + "start_from", + "starts_with", + "ends_with", + "ignore_case", + "classification_names", + "metadata_element_subtypes", + "metadata_element_type", + "deployed_implementation_type" + ], + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "PostgreSQL Server" + }, + "analytic_function": null, + "analytic_spec_params": {} + }, + "get_additional_props": null, + "question_spec": null + }, + "Postgres-Database-Element-DrE-Basic": { + "target_type": "Postgres Database Element", + "heading": "Postgres-Database-Element-DrE-Basic Attributes", + "description": "Auto-generated format for Postgres Database Element (Create, Basic).", + "aliases": [], + "annotations": {}, + "family": "Asset Maker", + "formats": [ + { + "types": [ + "LIST" + ], + "attributes": [ + { + "name": "Postgres Database Name", + "key": "postgres_database", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, { "name": "Postgres Server Name", "key": "postgres_server", @@ -25724,6 +25920,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25790,6 +25994,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -25868,6 +26080,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -25934,12 +26154,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -25953,9 +26181,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "RelationalDatabase", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "PostgreSQL Relational Database" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -26031,6 +26267,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -26097,6 +26341,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -26175,6 +26427,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -26241,12 +26501,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -26260,9 +26528,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "RelationalDatabase", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "PostgreSQL Relational Database" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -26457,7 +26733,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -26473,7 +26749,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DataFolder", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -26668,7 +26950,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -26684,7 +26966,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DataFolder", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -26736,6 +27024,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -26778,6 +27074,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -26832,6 +27136,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -26874,12 +27186,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -26893,9 +27213,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Server" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -26947,6 +27275,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -26989,6 +27325,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27043,6 +27387,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -27085,12 +27437,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -27104,9 +27464,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareServer", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Server" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -27150,6 +27518,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27184,6 +27560,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27230,6 +27614,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -27264,12 +27656,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -27283,9 +27683,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareCapability", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Catalog" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -27329,6 +27737,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27363,6 +27779,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27409,6 +27833,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -27443,12 +27875,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -27462,9 +27902,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SoftwareCapability", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Catalog" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -27516,6 +27964,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27558,6 +28014,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27612,6 +28076,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -27654,12 +28126,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -27673,9 +28153,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DeployedDatabaseSchema", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Schema" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -27727,6 +28215,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27769,6 +28265,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -27823,6 +28327,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -27865,12 +28377,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -27884,9 +28404,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DeployedDatabaseSchema", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Schema" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -27981,6 +28509,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -28066,6 +28602,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -28163,6 +28707,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -28248,12 +28800,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -28267,9 +28827,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "RelationalTable", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Table" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -28364,6 +28932,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -28449,6 +29025,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -28546,6 +29130,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -28631,12 +29223,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -28650,9 +29250,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "RelationalTable", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Table" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -28712,6 +29320,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -28722,6 +29338,69 @@ } ], "columns": [ + { + "name": "UC Catalog Name", + "key": "uc_catalog", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "UC Schema Name", + "key": "uc_schema", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "UC Function Name", + "key": "uc_function", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Network Address", + "key": "network_address", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Description", + "key": "description", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, + { + "name": "Version Identifier", + "key": "version_identifier", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": [] + } + ] + }, + { + "types": [ + "ALL" + ], + "attributes": [ { "name": "UC Catalog Name", "key": "uc_catalog", @@ -28769,61 +29448,14 @@ "format": false, "detail_spec": null, "valid_values": [] - } - ] - }, - { - "types": [ - "ALL" - ], - "attributes": [ - { - "name": "UC Catalog Name", - "key": "uc_catalog", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] }, { - "name": "UC Schema Name", - "key": "uc_schema", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "UC Function Name", - "key": "uc_function", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Network Address", - "key": "network_address", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Description", - "key": "description", - "value": null, - "format": false, - "detail_spec": null, - "valid_values": [] - }, - { - "name": "Version Identifier", - "key": "version_identifier", + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", "value": null, "format": false, "detail_spec": null, - "valid_values": [] + "valid_values": null } ], "columns": [ @@ -28874,12 +29506,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -28893,9 +29533,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DeployedAPI", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Function" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -28955,6 +29603,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29005,6 +29661,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29067,6 +29731,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -29117,12 +29789,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -29136,9 +29816,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "DeployedAPI", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Function" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -29217,6 +29905,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29286,6 +29982,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29367,6 +30071,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -29436,12 +30148,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -29455,9 +30175,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "StorageVolume", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Volume" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -29536,6 +30264,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29605,6 +30341,14 @@ "detail_spec": null, "valid_values": [] }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null + }, { "name": "Version Identifier", "key": "version_identifier", @@ -29686,6 +30430,14 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ], "columns": [ @@ -29755,12 +30507,20 @@ "format": false, "detail_spec": null, "valid_values": [] + }, + { + "name": "Deployed Implementation Type", + "key": "deployed_implementation_type", + "value": null, + "format": false, + "detail_spec": null, + "valid_values": null } ] } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -29774,9 +30534,17 @@ "ignore_case", "classification_names", "metadata_element_subtypes", - "metadata_element_type" + "metadata_element_type", + "deployed_implementation_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "StorageVolume", + "property_names": [ + "displayName", + "qualifiedName" + ], + "default_deployed_implementation_type": "Unity Catalog Volume" + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -29907,7 +30675,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -29923,7 +30691,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "OpenMetadataRoot", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -30346,7 +31120,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -30362,7 +31136,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "OpenMetadataRoot", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -96484,9 +97264,7 @@ "metadata_element_type" ], "spec_params": { - "classification_names": [ - "DigitalProductCatalog" - ] + "metadata_element_type": "DigitalProductCatalog" }, "analytic_function": null, "analytic_spec_params": {} @@ -97731,9 +98509,7 @@ "metadata_element_type" ], "spec_params": { - "classification_names": [ - "DigitalProductCatalog" - ] + "metadata_element_type": "DigitalProductCatalog" }, "analytic_function": null, "analytic_spec_params": {} @@ -108106,9 +108882,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalDataSource" - ] + "metadata_element_type": "ExternalDataSource" }, "analytic_function": null, "analytic_spec_params": {} @@ -109545,9 +110319,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalDataSource" - ] + "metadata_element_type": "ExternalDataSource" }, "analytic_function": null, "analytic_spec_params": {} @@ -110164,9 +110936,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalModelSource" - ] + "metadata_element_type": "ExternalModelSource" }, "analytic_function": null, "analytic_spec_params": {} @@ -111603,9 +112373,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalModelSource" - ] + "metadata_element_type": "ExternalModelSource" }, "analytic_function": null, "analytic_spec_params": {} @@ -112222,9 +112990,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalSourceCode" - ] + "metadata_element_type": "ExternalSourceCode" }, "analytic_function": null, "analytic_spec_params": {} @@ -113661,9 +114427,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalSourceCode" - ] + "metadata_element_type": "ExternalSourceCode" }, "analytic_function": null, "analytic_spec_params": {} @@ -114456,9 +115220,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "RelatedMedia" - ] + "metadata_element_type": "RelatedMedia" }, "analytic_function": null, "analytic_spec_params": {} @@ -116071,9 +116833,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "RelatedMedia" - ] + "metadata_element_type": "RelatedMedia" }, "analytic_function": null, "analytic_spec_params": {} @@ -117042,9 +117802,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "CitedDocument" - ] + "metadata_element_type": "CitedDocument" }, "analytic_function": null, "analytic_spec_params": {} @@ -118833,9 +119591,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "CitedDocument" - ] + "metadata_element_type": "CitedDocument" }, "analytic_function": null, "analytic_spec_params": {} @@ -119452,9 +120208,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalStandard" - ] + "metadata_element_type": "ExternalStandard" }, "analytic_function": null, "analytic_spec_params": {} @@ -120891,9 +121645,7 @@ "metadata_element_type" ], "spec_params": { - "metadata_element_types": [ - "ExternalStandard" - ] + "metadata_element_type": "ExternalStandard" }, "analytic_function": null, "analytic_spec_params": {} @@ -133285,7 +134037,9 @@ ], "spec_params": { "metadata_element_type": "GlossaryTerm", - "classification": "Question" + "include_only_classified_elements": [ + "Question" + ] }, "analytic_function": null, "analytic_spec_params": {} @@ -135007,7 +135761,9 @@ ], "spec_params": { "metadata_element_type": "GlossaryTerm", - "classification": "Question" + "include_only_classified_elements": [ + "Question" + ] }, "analytic_function": null, "analytic_spec_params": {} @@ -225181,7 +225937,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -225197,7 +225953,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "Report", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -227264,7 +228026,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -227280,7 +228042,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "Report", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -229469,7 +230237,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -229485,7 +230253,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SavedQuery", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -230740,7 +231514,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -230756,7 +231530,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SavedQuery", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -235071,7 +235851,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -235087,7 +235867,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaType", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -235974,7 +236760,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -235990,7 +236776,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaType", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -236121,7 +236913,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -236137,7 +236929,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaType", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -236268,7 +237066,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -236284,7 +237082,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaType", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -236915,7 +237719,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -236931,7 +237735,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaAttribute", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -237882,7 +238692,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -237898,7 +238708,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaAttribute", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -238029,7 +238845,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -238045,7 +238861,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaAttribute", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, @@ -238176,7 +238998,7 @@ } ], "action": { - "function": "MetadataExpert.find_metadata_elements_with_string", + "function": "ClassificationExplorer.find_elements_by_property_value", "required_params": [ "search_string" ], @@ -238192,7 +239014,13 @@ "metadata_element_subtypes", "metadata_element_type" ], - "spec_params": {}, + "spec_params": { + "metadata_element_type": "SchemaAttribute", + "property_names": [ + "displayName", + "qualifiedName" + ] + }, "analytic_function": null, "analytic_spec_params": {} }, diff --git a/pyegeria/core/_filter_kwargs_survey.py b/pyegeria/core/_filter_kwargs_survey.py new file mode 100644 index 00000000..ef0ca7fc --- /dev/null +++ b/pyegeria/core/_filter_kwargs_survey.py @@ -0,0 +1,162 @@ +"""Static survey of pyegeria's public find_*/get_* methods and the request filters they reach. + +Used by the micro-test ``test_search_get_filter_kwargs.py`` (and by the one-off +script that added the ``Unpack[...]`` annotations), so both use one definition of +"a method that sends a filterable request body". Not part of the public API. + +A method is in scope when, following ``self.(...)`` calls within +``pyegeria/omvs``, it reaches one of the shared request helpers in +``_server_client`` or builds a body with ``filter_body_kwargs(, kwargs)``. +""" + +from __future__ import annotations + +import ast +import collections +import pathlib +from dataclasses import dataclass, field + +PACKAGE = pathlib.Path(__file__).resolve().parents[1] + +# Shared helper -> the TypedDict that documents its filters. +HELPER_FILTERS: dict[str, str] = { + "_async_find_request": "SearchFilters", + "_async_activity_status_search_request": "SearchFilters", + "_async_content_status_search_request": "SearchFilters", + "_async_deployment_status_search_request": "SearchFilters", + "_async_get_name_request": "ListFilters", + "_async_activity_status_filter_request": "ListFilters", + "_async_content_status_filter_request": "ListFilters", + "_async_deployment_status_filter_request": "ListFilters", + "_async_activity_status_request": "ListFilters", + "_async_get_results_body_request": "ListFilters", + "_async_get_guid_request": "GetFilters", + "_async_get_request_body_request": "GetFilters", +} +# filter_body_kwargs("", ...) called directly by a method -> TypedDict +KIND_FILTERS: dict[str, str] = { + "search": "SearchFilters", "deployment_search": "SearchFilters", "activity_search": "SearchFilters", + "content_search": "SearchFilters", "find": "FindFilters", + "name": "ListFilters", "list": "ListFilters", "get": "GetFilters", +} +_RANK = {"GetFilters": 0, "ListFilters": 1, "SearchFilters": 2, "FindFilters": 3} + + +@dataclass +class Method: + file: str + cls: str + name: str + node: ast.FunctionDef | ast.AsyncFunctionDef + reaches: set[str] = field(default_factory=set) + + @property + def qualname(self) -> str: + return f"{self.cls}.{self.name}" + + @property + def base(self) -> str: + return self.name.removeprefix("_async_") + + @property + def is_public_find_get(self) -> bool: + if self.name.startswith("_") and not self.name.startswith("_async_"): + return False + return self.base.startswith(("find_", "get_")) + + @property + def filters(self) -> str | None: + names = {HELPER_FILTERS.get(r) or KIND_FILTERS.get(r.removeprefix("kind:")) for r in self.reaches} + names.discard(None) + return max(names, key=_RANK.__getitem__) if names else None + + @property + def explicit_params(self) -> set[str]: + a = self.node.args + return {x.arg for x in a.posonlyargs + a.args + a.kwonlyargs} + + @property + def kwargs_name(self) -> str | None: + return self.node.args.kwarg.arg if self.node.args.kwarg else None + + def passes_kwargs(self) -> bool: + """True when **kwargs is forwarded: as **kwargs in a call or dict, or handed to filter_body_kwargs.""" + kwn = self.kwargs_name + if kwn is None: + return False + for n in ast.walk(self.node): + if isinstance(n, ast.keyword) and n.arg is None and isinstance(n.value, ast.Name) and n.value.id == kwn: + return True + if isinstance(n, ast.Dict) and any(k is None and isinstance(v, ast.Name) and v.id == kwn + for k, v in zip(n.keys, n.values)): + return True + if isinstance(n, ast.Call) and any(isinstance(x, ast.Name) and x.id == kwn for x in n.args): + return True + return False + + def unpack_annotation(self) -> str | None: + """'SearchFilters' when declared as **kwargs: Unpack[SearchFilters], else None.""" + kw = self.node.args.kwarg + ann = kw.annotation if kw is not None else None + if isinstance(ann, ast.Subscript) and isinstance(ann.value, ast.Name) and ann.value.id == "Unpack" \ + and isinstance(ann.slice, ast.Name): + return ann.slice.id + return None + + +def _self_calls(fn) -> tuple[set[str], set[str]]: + calls, kinds = set(), set() + for c in ast.walk(fn): + if not isinstance(c, ast.Call): + continue + f = c.func + if isinstance(f, ast.Attribute) and isinstance(f.value, ast.Name) and f.value.id == "self": + calls.add(f.attr) + if isinstance(f, ast.Name) and f.id == "filter_body_kwargs" and c.args \ + and isinstance(c.args[0], ast.Constant): + kinds.add(f"kind:{c.args[0].value}") + return calls, kinds + + +def survey(package: pathlib.Path = PACKAGE) -> list[Method]: + """Every method in pyegeria/omvs, with the request helpers it reaches.""" + methods: dict[tuple[str, str, str], Method] = {} + calls: dict[tuple[str, str, str], set[str]] = {} + for path in sorted((package / "omvs").glob("*.py")): + tree = ast.parse(path.read_text(encoding="utf-8")) + for cls in (n for n in tree.body if isinstance(n, ast.ClassDef)): + for fn in cls.body: + if isinstance(fn, (ast.FunctionDef, ast.AsyncFunctionDef)): + key = (path.name, cls.name, fn.name) + m = Method(path.name, cls.name, fn.name, fn) + c, kinds = _self_calls(fn) + m.reaches |= kinds + methods[key], calls[key] = m, c + by_name = collections.defaultdict(list) + for key in methods: + by_name[key[2]].append(key) + memo: dict = {} + + def reach(key, stack=()): + if key in memo: + return memo[key] + if key in stack: + return set() + out = set(methods[key].reaches) + for name in calls[key]: + if name in HELPER_FILTERS: + out.add(name) + continue + same_file = [k for k in by_name.get(name, []) if k[0] == key[0]] + for k in same_file or by_name.get(name, []): + out |= reach(k, stack + (key,)) + memo[key] = out + return out + + for key, m in methods.items(): + m.reaches = reach(key) + return list(methods.values()) + + +def in_scope(methods: list[Method]) -> list[Method]: + return [m for m in methods if m.is_public_find_get and m.filters] diff --git a/pyegeria/core/_server_client.py b/pyegeria/core/_server_client.py index 1f36ef33..681f1b75 100644 --- a/pyegeria/core/_server_client.py +++ b/pyegeria/core/_server_client.py @@ -19,6 +19,7 @@ from loguru import logger from pydantic import TypeAdapter, ValidationError +from pyegeria.core.request_filters import deprecated_names from pyegeria.core._base_server_client import BaseServerClient from pyegeria.core._exceptions import ( PyegeriaConnectionException, PyegeriaInvalidParameterException, PyegeriaException, PyegeriaErrorCode @@ -87,6 +88,7 @@ ActionRequestBody ) from pyegeria.core.async_runner import run_sync +from pyegeria.core.request_filters import filter_body_kwargs __all__ = [ # Models @@ -875,13 +877,14 @@ def _get_element_by_guid_(self, element_guid: str) -> dict | str: return result + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_get_related_elements_with_property_value( self, element_guid: str, relationship_type: str, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, start_at_end: int = 1, effective_time: Optional[str] = None, for_lineage: Optional[bool] = None, @@ -907,7 +910,7 @@ async def _async_get_related_elements_with_property_value( - property value to be searched. property_names: [str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - restrict search to elements of this open metadata type start_at_end: int, default = 1 - The end of the relationship to start from - typically End1 @@ -939,7 +942,7 @@ async def _async_get_related_elements_with_property_value( body = { "class": "FindPropertyNamesProperties", - "metadataElementTypeName": metadata_element_type_name, + "metadataElementTypeName": metadata_element_type, "propertyValue": property_value, "propertyNames": property_names, "effectiveTime": effective_time, @@ -1579,11 +1582,12 @@ def get_comment_by_guid( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_attached_comments( self, element_guid: str, - metadata_element_type_name: str | None = "Comment", + metadata_element_type: str | None = "Comment", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -1617,7 +1621,7 @@ async def _async_get_attached_comments( """ url = f"{self.command_root}feedback-manager/elements/{element_guid}/comments/retrieve" - return await self._async_get_results_body_request(url, _type=metadata_element_type_name, + return await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_comment_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -1625,10 +1629,11 @@ async def _async_get_attached_comments( report_spec=report_spec, body=body, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_attached_comments( self, element_guid: str, - metadata_element_type_name: str | None = "Comment", + metadata_element_type: str | None = "Comment", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -1660,7 +1665,7 @@ def get_attached_comments( PyegeriaException """ response = run_sync( - self._async_get_attached_comments(element_guid, metadata_element_type_name, graph_query_depth, + self._async_get_attached_comments(element_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -2585,10 +2590,11 @@ def find_note_logs( return resp + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_note_logs_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "NoteLog", + metadata_element_type: str | None = "NoteLog", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -2604,7 +2610,7 @@ async def _async_get_note_logs_by_name( ---------- name : str - the name to filter on. - metadata_element_type_name: str + metadata_element_type: str - NoteLog element type. body: dict | FilterRequestBody - optional effective time. If present, values supercede other parameters. @@ -2623,7 +2629,7 @@ async def _async_get_note_logs_by_name( response = await self._async_get_name_request(url, _type="NoteLog", _gen_output=self._generate_feedback_output, filter_string=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, graph_query_depth=graph_query_depth, start_from=start_from, @@ -2633,10 +2639,11 @@ async def _async_get_note_logs_by_name( return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_note_logs_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "NoteLog", + metadata_element_type: str | None = "NoteLog", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -2652,7 +2659,7 @@ def get_note_logs_by_name( ---------- name : str - the name to filter on. - metadata_element_type_name: str + metadata_element_type: str - NoteLog element type. body: dict | FilterRequestBody - optional effective time. If present, values supercede other parameters. @@ -2667,7 +2674,7 @@ def get_note_logs_by_name( """ response = run_sync( - self._async_get_note_logs_by_name(name, metadata_element_type_name, metadata_element_subtypes, + self._async_get_note_logs_by_name(name, metadata_element_type, metadata_element_subtypes, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) @@ -2745,11 +2752,12 @@ def get_note_log_by_guid( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_attached_note_logs( self, element_guid: str, - metadata_element_type_name: str | None = "NoteLog", + metadata_element_type: str | None = "NoteLog", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -2783,7 +2791,7 @@ async def _async_get_attached_note_logs( """ url = f"{self.command_root}feedback-manager/elements/{element_guid}/note-logs/retrieve" - return await self._async_get_results_body_request(url, _type=metadata_element_type_name, + return await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -2791,10 +2799,11 @@ async def _async_get_attached_note_logs( report_spec=report_spec, body=body, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_attached_note_logs( self, element_guid: str, - metadata_element_type_name: str | None = "NoteLog", + metadata_element_type: str | None = "NoteLog", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -2826,7 +2835,7 @@ def get_attached_note_logs( PyegeriaException """ response = run_sync( - self._async_get_attached_note_logs(element_guid, metadata_element_type_name, graph_query_depth, + self._async_get_attached_note_logs(element_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -3626,11 +3635,12 @@ def find_notes( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_note_by_guid( self, guid: str, - metadata_element_type_name: str | None = "Note", + metadata_element_type: str | None = "Note", graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, @@ -3644,7 +3654,7 @@ async def _async_get_note_by_guid( ---------- guid: str - unique identifier for the note object. - metadata_element_type_name : str, optional + metadata_element_type : str, optional - type name for the note object (default is "Note"). body - optional effective time @@ -3660,7 +3670,7 @@ async def _async_get_note_by_guid( """ url = f"{self.command_root}feedback-manager/assets/{guid}/retrieve" - response = await self._async_get_guid_request(url, _type=metadata_element_type_name, + response = await self._async_get_guid_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, @@ -3668,11 +3678,12 @@ async def _async_get_note_by_guid( return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_note_by_guid( self, guid: str, - metadata_element_type_name: str | None = "Note", + metadata_element_type: str | None = "Note", graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, @@ -3686,7 +3697,7 @@ def get_note_by_guid( ---------- guid: str - unique identifier of the requested metadata element - metadata_element_type_name : str, optional + metadata_element_type : str, optional - type name for the note object (default is "Note"). body: dict | GetRequestBody - optional details of the request. @@ -3703,15 +3714,16 @@ def get_note_by_guid( PyegeriaException """ response = run_sync( - self._async_get_note_by_guid(guid, metadata_element_type_name, graph_query_depth, output_format, report_spec, body, **kwargs) + self._async_get_note_by_guid(guid, metadata_element_type, graph_query_depth, output_format, report_spec, body, **kwargs) ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_notes_for_note_log( self, note_log_guid: str, - metadata_element_type_name: str | None = "Note", + metadata_element_type: str | None = "Note", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", @@ -3726,7 +3738,7 @@ async def _async_get_notes_for_note_log( ---------- note_log_guid: str - id of the note log to retrieve notes for. - metadata_element_type_name : str, optional + metadata_element_type : str, optional - type of log entry to return (default is "Note"). A note log can also hold other Notification entries; pass "Notification" to get every entry. body: dict | ResultsRequestBody @@ -3747,7 +3759,7 @@ async def _async_get_notes_for_note_log( """ url = f"{self.command_root}feedback-manager/note-logs/{note_log_guid}/notes/retrieve" - response = await self._async_get_results_body_request(url, _type=metadata_element_type_name, + response = await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -3756,11 +3768,12 @@ async def _async_get_notes_for_note_log( body=body, **kwargs) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_notes_for_note_log( self, note_log_guid: str, - metadata_element_type_name: str | None = "Note", + metadata_element_type: str | None = "Note", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", @@ -3775,7 +3788,7 @@ def get_notes_for_note_log( ---------- note_log_guid: str - note_log id to find notes for. - metadata_element_type_name : str, optional + metadata_element_type : str, optional - type of log entry to return (default is "Note"). A note log can also hold other Notification entries; pass "Notification" to get every entry. body: dict | ResultsRequestBody @@ -3795,7 +3808,7 @@ def get_notes_for_note_log( """ response = run_sync( - self._async_get_notes_for_note_log(note_log_guid, metadata_element_type_name, graph_query_depth, + self._async_get_notes_for_note_log(note_log_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -4141,11 +4154,12 @@ def get_tag_by_guid( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_tags_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "InformalTag", + metadata_element_type: str | None = "InformalTag", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -4183,7 +4197,7 @@ async def _async_get_tags_by_name( response = await self._async_get_name_request(url, _type="InformalTag", _gen_output=self._generate_feedback_output, filter_string=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, graph_query_depth=graph_query_depth, start_from=start_from, @@ -4192,11 +4206,12 @@ async def _async_get_tags_by_name( body=body, **kwargs) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_tags_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "InformalTag", + metadata_element_type: str | None = "InformalTag", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -4229,7 +4244,7 @@ def get_tags_by_name( PyegeriaException """ response = run_sync( - self._async_get_tags_by_name(name, metadata_element_type_name, metadata_element_subtypes, + self._async_get_tags_by_name(name, metadata_element_type, metadata_element_subtypes, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) @@ -4686,11 +4701,12 @@ def get_elements_by_tag( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_attached_tags( self, element_guid: str, - metadata_element_type_name: str | None = "InformalTag", + metadata_element_type: str | None = "InformalTag", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -4723,7 +4739,7 @@ async def _async_get_attached_tags( PyegeriaException """ url = f"{self.command_root}feedback-manager/elements/{element_guid}/tags/retrieve" - return await self._async_get_results_body_request(url, _type=metadata_element_type_name, + return await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -4731,11 +4747,12 @@ async def _async_get_attached_tags( report_spec=report_spec, body=body, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_attached_tags( self, element_guid: str, - metadata_element_type_name: str | None = "InformalTag", + metadata_element_type: str | None = "InformalTag", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -4768,7 +4785,7 @@ def get_attached_tags( PyegeriaException """ response = run_sync( - self._async_get_attached_tags(element_guid, metadata_element_type_name, graph_query_depth, + self._async_get_attached_tags(element_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -4980,11 +4997,12 @@ def add_like_to_element( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_attached_likes( self, element_guid: str, - metadata_element_type_name: str | None = "Like", + metadata_element_type: str | None = "Like", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -5021,7 +5039,7 @@ async def _async_get_attached_likes( PyegeriaException """ url = f"{self.command_root}feedback-manager/elements/{element_guid}/likes/retrieve" - return await self._async_get_results_body_request(url, _type=metadata_element_type_name, + return await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -5029,11 +5047,12 @@ async def _async_get_attached_likes( report_spec=report_spec, body=body, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_attached_likes( self, element_guid: str, - metadata_element_type_name: str | None = "Like", + metadata_element_type: str | None = "Like", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -5070,7 +5089,7 @@ def get_attached_likes( PyegeriaException """ response = run_sync( - self._async_get_attached_likes(element_guid, metadata_element_type_name, graph_query_depth, + self._async_get_attached_likes(element_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -5248,11 +5267,12 @@ def add_rating_to_element( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_attached_ratings( self, element_guid: str, - metadata_element_type_name: str | None = "Rating", + metadata_element_type: str | None = "Rating", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -5289,7 +5309,7 @@ async def _async_get_attached_ratings( PyegeriaException """ url = f"{self.command_root}feedback-manager/elements/{element_guid}/ratings/retrieve" - return await self._async_get_results_body_request(url, _type=metadata_element_type_name, + return await self._async_get_results_body_request(url, _type=metadata_element_type, _gen_output=self._generate_feedback_output, graph_query_depth=graph_query_depth, start_from=start_from, @@ -5297,11 +5317,12 @@ async def _async_get_attached_ratings( report_spec=report_spec, body=body, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_attached_ratings( self, element_guid: str, - metadata_element_type_name: str | None = "Rating", + metadata_element_type: str | None = "Rating", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -5338,7 +5359,7 @@ def get_attached_ratings( PyegeriaException """ response = run_sync( - self._async_get_attached_ratings(element_guid, metadata_element_type_name, graph_query_depth, + self._async_get_attached_ratings(element_guid, metadata_element_type, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) return response @@ -5734,11 +5755,12 @@ def get_search_keyword_by_guid( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_search_keyword_by_keyword( self, name: str, - metadata_element_type_name: str | None = "SearchKeyword", + metadata_element_type: str | None = "SearchKeyword", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -5779,7 +5801,7 @@ async def _async_get_search_keyword_by_keyword( response = await self._async_get_name_request(url, _type="SearchKeyword", _gen_output=self._generate_feedback_output, filter_string=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, graph_query_depth=graph_query_depth, start_from=start_from, @@ -5788,11 +5810,12 @@ async def _async_get_search_keyword_by_keyword( body=body, **kwargs) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_search_keyword_by_keyword( self, name: str = "*", - metadata_element_type_name: str | None = "SearchKeyword", + metadata_element_type: str | None = "SearchKeyword", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -5828,7 +5851,7 @@ def get_search_keyword_by_keyword( """ response = run_sync( - self._async_get_search_keyword_by_keyword(name, metadata_element_type_name, metadata_element_subtypes, + self._async_get_search_keyword_by_keyword(name, metadata_element_type, metadata_element_subtypes, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs) ) @@ -6480,6 +6503,7 @@ async def _async_find_request(self, url: str, _type: str, _gen_output: Callable[ body: dict | SearchStringRequestBody | FindPropertyNamesRequestBody = None, **kwargs) -> Any: report_spec = await self._async_refresh_report_spec(report_spec, kwargs) # refresh_spec=True (RS-EGERIA-TIER) + _filters = filter_body_kwargs("search", kwargs) # check names; map to wire names effective_search_string = None if search_string == '*' else search_string @@ -6521,9 +6545,9 @@ async def _async_find_request(self, url: str, _type: str, _gen_output: Callable[ "anchorDomainName": anchor_domain, "anchorScopeGUID": anchor_scope_guid, "governanceZoneFilter": governance_zone_filter, - **kwargs + **_filters } - if not metadata_element_type: + if not body.get("metadataElementTypeName"): body.pop("metadataElementTypeName", None) validated_body = self._validate_body(FindPropertyNamesRequestBody.model_validate, body) else: @@ -6553,9 +6577,9 @@ async def _async_find_request(self, url: str, _type: str, _gen_output: Callable[ "sequencingProperty": sequencing_property, "startFrom": start_from, "pageSize": page_size, - **kwargs + **_filters } - if not metadata_element_type: + if not body.get("metadataElementTypeName"): body.pop("metadataElementTypeName", None) validated_body = self._validate_body(SearchStringRequestBody.model_validate, body) @@ -6573,10 +6597,11 @@ async def _async_find_request(self, url: str, _type: str, _gen_output: Callable[ output_format=output_format, report_spec=report_spec, **kwargs) return elements + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_name_request(self, url: str, _type: str, _gen_output: Callable[..., Any], filter_string: str = "*", - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, classification_names: list[str] | None = None, include_only_relationships: list[str] | None = None, @@ -6588,12 +6613,9 @@ async def _async_get_name_request(self, url: str, _type: str, _gen_output: Calla max_mermaid_node_count=10, **kwargs) -> Any: report_spec = await self._async_refresh_report_spec(report_spec, kwargs) # refresh_spec=True (RS-EGERIA-TIER) - # _async_find_request spells this argument `metadata_element_type`; a wrapper copied from a find_* - # sibling passed that spelling here, where it fell into **kwargs and FilterRequestBody silently - # dropped it, so the by-name search ran unfiltered by type (ISSUE-131). Accept both. - legacy_type_name = kwargs.pop("metadata_element_type", None) - if metadata_element_type_name is None: - metadata_element_type_name = legacy_type_name + # ISSUE-131: this argument is spelt `metadata_element_type`, as in _async_find_request (6.2.28: + # one name everywhere). The old `metadata_element_type_name` still works via @deprecated_names. + _filters = filter_body_kwargs("name", kwargs) # check names; map to wire names if isinstance(body, FilterRequestBody): validated_body = body @@ -6605,7 +6627,7 @@ async def _async_get_name_request(self, url: str, _type: str, _gen_output: Calla body = { "class": "FilterRequestBody", "filter": filter_string, - "metadataElementTypeName": metadata_element_type_name, + "metadataElementTypeName": metadata_element_type, "metadataElementSubtypeNames": metadata_element_subtypes, "includeOnlyRelationships": include_only_relationships, "skipRelationships": skip_relationships, @@ -6614,7 +6636,7 @@ async def _async_get_name_request(self, url: str, _type: str, _gen_output: Calla "pageSize": page_size, "includeOnlyClassifiedElements": classification_names, "maxMermaidNodeCount": max_mermaid_node_count, - **kwargs + **_filters } validated_body = self._validate_body(FilterRequestBody.model_validate, body) @@ -6660,6 +6682,7 @@ async def _async_get_guid_request(self, url: str, _type: str, _gen_output: Calla this helper understands the singular "elementGraph" response key. """ report_spec = await self._async_refresh_report_spec(report_spec, kwargs) # refresh_spec=True (RS-EGERIA-TIER) + _filters = filter_body_kwargs("get", kwargs) # check names; map to wire names if isinstance(body, (GetRequestBody, ResultsRequestBody)): validated_body = body elif isinstance(body, dict): @@ -6676,7 +6699,7 @@ async def _async_get_guid_request(self, url: str, _type: str, _gen_output: Calla "skipRelationships": skip_relationships, "graphQueryDepth": graph_query_depth, "maxMermaidNodeCount": max_mermaid_node_count, - **kwargs + **_filters } validated_body = self._validate_body(body_model.model_validate, body) @@ -6723,6 +6746,7 @@ async def _async_get_request_body_request(self, url: str, _type: str, _gen_outpu graph_query_depth (): """ report_spec = await self._async_refresh_report_spec(report_spec, kwargs) # refresh_spec=True (RS-EGERIA-TIER) + _filters = filter_body_kwargs("get", kwargs) # check names; map to wire names if isinstance(body, GetRequestBody): validated_body = body elif isinstance(body, dict): @@ -6733,7 +6757,7 @@ async def _async_get_request_body_request(self, url: str, _type: str, _gen_outpu "metadataElementTypeName": _type, "maxMermaidNodeCount": max_mermaid_node_count, "graphQueryDepth": graph_query_depth, - **kwargs + **_filters } validated_body = self._validate_body(GetRequestBody.model_validate, body) @@ -6787,6 +6811,7 @@ async def _async_activity_status_search_request( body: dict | ActivityStatusSearchString | None = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("activity_search", kwargs) # check names; map to wire names if isinstance(body, ActivityStatusSearchString): validated_body = body elif isinstance(body, dict): @@ -6820,7 +6845,7 @@ async def _async_activity_status_search_request( "sequencingProperty": sequencing_property, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } validated_body = self._validate_body(ActivityStatusSearchString.model_validate, body) @@ -6851,6 +6876,7 @@ async def _async_activity_status_filter_request( body: Optional[dict | ActivityStatusFilterRequestBody] = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("activity_filter", kwargs) # check names; map to wire names if isinstance(body, ActivityStatusFilterRequestBody): validated_body = body elif isinstance(body, dict): @@ -6863,7 +6889,7 @@ async def _async_activity_status_filter_request( "activityStatusList": activity_status_list, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } validated_body = self._validate_body(ActivityStatusFilterRequestBody.model_validate, body) @@ -6896,6 +6922,7 @@ async def _async_activity_status_request( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("activity", kwargs) # check names; map to wire names if isinstance(body, ActivityStatusRequestBody): validated_body = body elif isinstance(body, dict): @@ -6909,7 +6936,7 @@ async def _async_activity_status_request( "limitResultsByStatus": limit_results_by_status, "sequencingOrder": sequencing_order, "sequencingProperty": sequencing_property, - **kwargs + **_filters } validated_body = self._validate_body(ActivityStatusRequestBody.model_validate, body) @@ -6959,6 +6986,7 @@ async def _async_content_status_search_request( body: dict | ContentStatusSearchString | None = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("content_search", kwargs) # check names; map to wire names if isinstance(body, ContentStatusSearchString): validated_body = body elif isinstance(body, dict): @@ -6992,7 +7020,7 @@ async def _async_content_status_search_request( "sequencingProperty": sequencing_property, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } validated_body = self._validate_body(ContentStatusSearchString.model_validate, body) @@ -7023,6 +7051,7 @@ async def _async_content_status_filter_request( body: Optional[dict | ContentStatusFilterRequestBody] = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("content_filter", kwargs) # check names; map to wire names if isinstance(body, ContentStatusFilterRequestBody): validated_body = body elif isinstance(body, dict): @@ -7035,7 +7064,7 @@ async def _async_content_status_filter_request( "contentStatusList": content_status_list, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } validated_body = self._validate_body(ContentStatusFilterRequestBody.model_validate, body) @@ -7085,6 +7114,7 @@ async def _async_deployment_status_search_request( body: dict | DeploymentStatusSearchString | None = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("deployment_search", kwargs) # check names; map to wire names if isinstance(body, DeploymentStatusSearchString): validated_body = body elif isinstance(body, dict): @@ -7118,7 +7148,7 @@ async def _async_deployment_status_search_request( "sequencingProperty": sequencing_property, "startFrom": start_from, "pageSize": page_size, - **kwargs + **_filters } validated_body = self._validate_body(DeploymentStatusSearchString.model_validate, body) @@ -7149,6 +7179,7 @@ async def _async_deployment_status_filter_request( body: Optional[dict | DeploymentStatusFilterRequestBody] = None, **kwargs ) -> Any: + _filters = filter_body_kwargs("deployment_filter", kwargs) # check names; map to wire names if isinstance(body, DeploymentStatusFilterRequestBody): validated_body = body elif isinstance(body, dict): @@ -7161,7 +7192,7 @@ async def _async_deployment_status_filter_request( "deploymentStatusList": deployment_status_list, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } validated_body = self._validate_body(DeploymentStatusFilterRequestBody.model_validate, body) @@ -7197,6 +7228,7 @@ async def _async_get_results_body_request(self, url: str, _type: str, _gen_outpu default request body doesn't wrongly filter results by it. """ report_spec = await self._async_refresh_report_spec(report_spec, kwargs) # refresh_spec=True (RS-EGERIA-TIER) + _filters = filter_body_kwargs("list", kwargs) # check names; map to wire names if isinstance(body, ResultsRequestBody): validated_body = body elif isinstance(body, dict): @@ -7207,10 +7239,10 @@ async def _async_get_results_body_request(self, url: str, _type: str, _gen_outpu "graphQueryDepth": graph_query_depth, "start_from": start_from, "page_size": page_size, - **kwargs + **_filters } if filter_results_by_type: - body["metadataElementTypeName"] = _type + body.setdefault("metadataElementTypeName", _type) validated_body = self._validate_body(ResultsRequestBody.model_validate, body) json_body = validated_body.model_dump_json(indent=2, exclude_none=True) diff --git a/pyegeria/core/request_filters.py b/pyegeria/core/request_filters.py new file mode 100644 index 00000000..45f566d2 --- /dev/null +++ b/pyegeria/core/request_filters.py @@ -0,0 +1,519 @@ +"""Standard request filters for pyegeria's find_* and get_* methods. + +Every public ``find_*`` / ``get_*`` method that sends a request body accepts the +standard filters as ``**kwargs`` and passes them to the shared request helper in +``pyegeria.core._server_client``. Signatures stay short; this module is the one +place that says what those filters are: + +* ``GetFilters``, ``ListFilters`` and ``SearchFilters`` are the PEP 692 TypedDicts + the methods annotate as ``**kwargs: Unpack[...]`` (editor completion, one-line + signatures). Each field carries a docstring. +* ``valid_filter_names(kind)`` derives the names each helper accepts from the + matching request-body model (``GetRequestBody``, ``ResultsRequestBody``, + ``FilterRequestBody``, ``SearchStringRequestBody`` ...), so it cannot drift from + what pyegeria actually sends. +* ``filter_body_kwargs(kind, kwargs)`` is what the helpers call: it maps the + public spellings onto the body's wire names and warns (``UnknownFilterWarning``) + on any name that is neither a filter nor a known rendering option. +* ``filter_reference_markdown()`` renders the tables in + ``docs/search-and-get-filters.md`` from the TypedDicts + models (a micro-test + checks the page is current). + +A micro-test checks that each TypedDict, mapped through ``PUBLIC_ALIASES`` and +together with ``CALL_PARAMETERS``, covers exactly the fields of its model. + +Plan: an unknown name WARNS in 6.2.28; a later release will raise instead. +""" + +from __future__ import annotations + +import ast +import asyncio +import inspect +import os +import re +import warnings +from datetime import datetime +from functools import lru_cache +from typing import Any, Literal, TypedDict + +from loguru import logger + +from pyegeria.models.models import ( + ActivityStatusFilterRequestBody, + ActivityStatusRequestBody, + ActivityStatusSearchString, + ContentStatusFilterRequestBody, + ContentStatusSearchString, + DeploymentStatusFilterRequestBody, + DeploymentStatusSearchString, + FilterRequestBody, + FindPropertyNamesRequestBody, + FindRequestBody, + GetRequestBody, + ResultsRequestBody, + SearchStringRequestBody, +) + +__all__ = [ + "GetFilters", + "ListFilters", + "SearchFilters", + "FindFilters", + "UnknownFilterWarning", + "FilterKind", + "valid_filter_names", + "filter_body_kwargs", + "filter_reference_markdown", + "PUBLIC_ALIASES", + "CALL_PARAMETERS", + "RENDER_OPTIONS", + "DEPRECATED_NAMES", + "deprecated_names", + "canonicalize_names", +] + + +class UnknownFilterWarning(UserWarning): + """A find_*/get_* call was given a keyword argument that is not a filter for its request. + + pyegeria 6.2.28 warns; a later release will raise ``TypeError`` instead. + """ + + +# -------------------------------------------------------------------------------------- +# The TypedDicts (PEP 692). Keys are the public, snake_case spellings. +# -------------------------------------------------------------------------------------- + + +class GetFilters(TypedDict, total=False): + """Standard filters for a get_* call that retrieves one element (``GetRequestBody``).""" + + metadata_element_type: str + """Restrict results to this open metadata type (and its subtypes), e.g. ``"DataClass"``.""" + metadata_element_subtypes: list[str] + """Only return elements of these subtypes, e.g. ``["DataClass"]``. Honoured on searches and lists; Egeria ignores it on a get-by-GUID.""" + skip_relationships: list[str] + """Relationship type names to leave out of each element's related-element graph.""" + include_only_relationships: list[str] + """Only include these relationship type names in each element's related-element graph.""" + skip_classified_elements: list[str] + """Leave out elements that carry any of these classifications.""" + include_only_classified_elements: list[str] + """Only return elements that carry one of these classifications.""" + max_mermaid_node_count: int + """Largest number of nodes Egeria draws in the returned Mermaid graph.""" + governance_zone_filter: list[str] + """Only return elements in these governance zones.""" + as_of_time: datetime | str + """Query the repository as it was at this time (ISO-8601 string or datetime).""" + effective_time: datetime | str + """Only return elements (and relationships) effective at this time.""" + relationship_page_size: int + """Page size for the relationships returned with each element (0 = server default).""" + for_lineage: bool + """Include elements marked Memento (deleted but kept for lineage).""" + for_duplicate_processing: bool + """Return duplicates as stored, without deduplication processing.""" + external_source_guid: str + """GUID of the external metadata source the request is made on behalf of.""" + external_source_name: str + """Qualified name of the external metadata source the request is made on behalf of.""" + request_id: str + """Caller-supplied id echoed in Egeria's audit log for tracing the request.""" + + +class ListFilters(GetFilters, total=False): + """Standard filters for a get_* call that returns a list, e.g. get_*_by_name (``FilterRequestBody`` / ``ResultsRequestBody``).""" + + anchor_guid: str + """Only return elements anchored to the element with this GUID.""" + anchor_domain: str + """Only return elements whose anchor is in this domain (an open metadata type name).""" + anchor_scope_guid: str + """Only return elements whose anchor scope is the element with this GUID.""" + limit_results_by_status: list[str] + """Only return elements whose status is one of these, e.g. ``["ACTIVE", "DRAFT"]``.""" + sequencing_order: Literal[ + "ANY", "CREATION_DATE_RECENT", "CREATION_DATE_OLDEST", "LAST_UPDATE_RECENT", + "LAST_UPDATE_OLDEST", "PROPERTY_ASCENDING", "PROPERTY_DESCENDING", + ] | str + """Order of the results; ``PROPERTY_ASCENDING``/``PROPERTY_DESCENDING`` need ``sequencing_property``.""" + sequencing_property: str + """Property name to sort on when ``sequencing_order`` is a PROPERTY_* order.""" + + +class SearchFilters(ListFilters, total=False): + """Standard filters for a find_* call (``SearchStringRequestBody`` / ``FindPropertyNamesRequestBody``).""" + + property_names: list[str] + """Search only these properties (switches the request to ``FindPropertyNamesProperties``).""" + + +class FindFilters(ListFilters, total=False): + """Filters for the complex-query finds that send a ``FindRequestBody`` (find_metadata_elements, find_root_elements).""" + + search_properties: dict + """A ``SearchProperties`` structure: property conditions the elements must match.""" + match_classifications: dict + """A ``MatchClassifications`` structure: classification conditions the elements must match.""" + skip_subtypes: bool + """When true, ``metadata_element_subtypes`` lists subtypes to EXCLUDE rather than the only ones to include.""" + + +FilterKind = Literal[ + "get", "list", "name", "search", "find", + "activity_search", "activity_filter", "activity", + "content_search", "content_filter", + "deployment_search", "deployment_filter", +] + +# Which request-body model(s) each helper kind sends, and which TypedDict documents it. +_KIND_MODELS: dict[str, tuple[type, ...]] = { + "get": (GetRequestBody,), + "list": (ResultsRequestBody,), + "name": (FilterRequestBody,), + "search": (SearchStringRequestBody, FindPropertyNamesRequestBody), + "find": (FindRequestBody,), + "activity_search": (ActivityStatusSearchString,), + "activity_filter": (ActivityStatusFilterRequestBody,), + "activity": (ActivityStatusRequestBody,), + "content_search": (ContentStatusSearchString,), + "content_filter": (ContentStatusFilterRequestBody,), + "deployment_search": (DeploymentStatusSearchString,), + "deployment_filter": (DeploymentStatusFilterRequestBody,), +} + +TYPED_DICT_FOR_MODEL: dict[type, type] = { + GetRequestBody: GetFilters, + ResultsRequestBody: ListFilters, + FilterRequestBody: ListFilters, + SearchStringRequestBody: SearchFilters, + FindRequestBody: FindFilters, +} + +# Public spelling -> request-body model field. The public spelling is the one the +# search helper (_async_find_request) has always used; the model spelling is accepted too. +PUBLIC_ALIASES: dict[str, str] = { + "metadata_element_type": "metadata_element_type_name", + "metadata_element_subtypes": "metadata_element_subtype_names", + "anchor_domain": "anchor_domain_name", + "relationship_page_size": "relationships_page_size", +} + +# Legacy spellings that are accepted (not advertised in the TypedDicts). +LEGACY_ALIASES: dict[str, str] = { + # _async_get_name_request's parameter for include_only_classified_elements + "classification_names": "include_only_classified_elements", + # Dr.Egeria / report-param spellings (format_set_executor._normalize_report_params maps + # them to the canonical name but leaves the original key in the params it forwards) + "limit_result_by_status": "limit_results_by_status", + "sort_order": "sequencing_order", + "output_sort_order": "sequencing_order", + "order_property_name": "sequencing_property", + "anchor_scope_id": "anchor_scope_guid", +} + +# One name everywhere (6.2.28): the element-type and subtype filters are spelt +# metadata_element_type / metadata_element_subtypes in every signature and in **kwargs. +# These older spellings still work, with a DeprecationWarning naming the new one. +DEPRECATED_NAMES: dict[str, str] = { + "metadata_element_type_name": "metadata_element_type", + "metadata_element_name": "metadata_element_type", + "metadata_element_subtype_names": "metadata_element_subtypes", + "metadata_element_sub_type": "metadata_element_subtypes", + "metadata_element_subtype": "metadata_element_subtypes", +} +_LIST_VALUED = frozenset({"metadata_element_subtypes"}) +_MISSING = object() + + +def _canonical_value(new: str, value: Any) -> Any: + """A lone string given for a list-valued filter (e.g. the old metadata_element_sub_type) becomes a list.""" + return [value] if new in _LIST_VALUED and isinstance(value, str) else value + + +def _deprecation(owner: str, old: str, new: str) -> None: + warnings.warn(f"{owner}: '{old}' is deprecated; use '{new}'.", DeprecationWarning, + skip_file_prefixes=_SKIP_PREFIXES) + + +def canonicalize_names(kwargs: dict[str, Any], *, owner: str, bound: dict[str, Any] | None = None, + warn: bool = True) -> dict[str, Any]: + """Map deprecated spellings in ``kwargs`` onto the canonical names, in place, and return it. + + Each deprecated name used raises one DeprecationWarning (unless ``warn`` is false). If the + canonical name is also given (in ``kwargs`` or, via ``bound``, positionally) with a different + value, raises ``TypeError`` -- the call is ambiguous. + """ + for old in [k for k in kwargs if k in DEPRECATED_NAMES]: + new = DEPRECATED_NAMES[old] + value = _canonical_value(new, kwargs.pop(old)) + if warn: + _deprecation(owner, old, new) + given = kwargs.get(new, _MISSING) + positional = False + if given is _MISSING and bound is not None and new in bound: + given, positional = bound[new], True + if given is not _MISSING and given is not None and value is not None \ + and _canonical_value(new, given) != value: + raise TypeError(f"{owner}: '{old}' (deprecated) is {value!r} but '{new}' is {given!r}; " + f"pass only '{new}'.") + if (given is _MISSING or given is None) and not positional: + kwargs[new] = value + return kwargs + + +def deprecated_names(**renames: str): + """Decorator: accept the deprecated spelling(s) of a renamed parameter. + + ``@deprecated_names(metadata_element_type_name="metadata_element_type")`` on a method whose + parameter is now ``metadata_element_type`` keeps old callers working, with a + DeprecationWarning, and refuses a call that gives both names with different values. + """ + import functools + + unknown = {o: n for o, n in renames.items() if DEPRECATED_NAMES.get(o) != n} + if unknown: + raise ValueError(f"not in DEPRECATED_NAMES: {unknown}") + + def decorate(func): + sig = inspect.signature(func) + owner = func.__qualname__.replace("._async_", ".") + + def fix(args, kwargs): + if not any(o in kwargs for o in renames): + return kwargs + rest = {k: v for k, v in kwargs.items() if k not in renames} + try: + bound = sig.bind_partial(*args, **rest).arguments + except TypeError: + bound = {} + positional = {k: v for k, v in bound.items() if k not in rest} + return canonicalize_names(dict(kwargs), owner=owner, bound=positional) + + if inspect.iscoroutinefunction(func): + @functools.wraps(func) + async def wrapper(*args, **kwargs): + return await func(*args, **fix(args, kwargs)) + else: + @functools.wraps(func) + def wrapper(*args, **kwargs): + return func(*args, **fix(args, kwargs)) + wrapper.__deprecated_names__ = dict(renames) + return wrapper + + return decorate + +# Body fields every method declares as an explicit parameter (or that the helper +# fills itself). They are valid filter names but are not repeated in the TypedDicts, +# because PEP 692 forbids a TypedDict key that duplicates a named parameter. +CALL_PARAMETERS: dict[type, frozenset[str]] = { + GetRequestBody: frozenset({"graph_query_depth"}), + ResultsRequestBody: frozenset({"graph_query_depth", "start_from", "page_size"}), + FilterRequestBody: frozenset({"graph_query_depth", "start_from", "page_size", "filter_string"}), + SearchStringRequestBody: frozenset({ + "graph_query_depth", "start_from", "page_size", + "search_string", "starts_with", "ends_with", "ignore_case", + }), + FindRequestBody: frozenset({"graph_query_depth", "start_from", "page_size"}), +} +# FindPropertyNamesRequestBody's property_value is the search string in property-names mode. +_FIND_PROPERTY_NAMES_CALL_PARAMETERS = frozenset({"property_value"}) + +# kwargs that are not request filters but that the helpers legitimately pass on to +# output rendering (_gen_output / generate_output) or consume themselves. +RENDER_OPTIONS: frozenset[str] = frozenset({ + "refresh_spec", # RS-EGERIA-TIER: fetch the report spec from Egeria for this call + "report_format", # legacy spelling of report_spec in the output formatters + "max_depth", "include_peers", "include_children", # graph/tree renderers + "include_preamble", # generate_output + "search_string", "filter_string", # echoed into report headings by _gen_output +}) + + +@lru_cache(maxsize=None) +def _model_names(model: type) -> tuple[frozenset[str], dict[str, str]]: + """(field names, {field name or alias -> wire alias}) for a request-body model, without ``class``.""" + names: set[str] = set() + to_wire: dict[str, str] = {} + for field_name, info in model.model_fields.items(): + if field_name == "class_": + continue + wire = info.alias or field_name + names.add(field_name) + to_wire[field_name] = wire + to_wire[wire] = wire + return frozenset(names), to_wire + + +@lru_cache(maxsize=None) +def _wire_map(kind: str) -> dict[str, str]: + """Every accepted spelling for ``kind`` -> the body's wire (camelCase) name.""" + out: dict[str, str] = {} + for model in _KIND_MODELS[kind]: + _, to_wire = _model_names(model) + out.update(to_wire) + for public, field_name in {**PUBLIC_ALIASES, **LEGACY_ALIASES}.items(): + if field_name in out: + out.setdefault(public, out[field_name]) + return out + + +def valid_filter_names(kind: str) -> frozenset[str]: + """The snake_case filter names a ``kind`` of request accepts (model fields + public aliases).""" + names: set[str] = set() + for model in _KIND_MODELS[kind]: + names |= _model_names(model)[0] + names |= {p for p, f in PUBLIC_ALIASES.items() if f in names} + return frozenset(names) + + +def _calling_method() -> str: + """Best-effort name of the public pyegeria method a warning is about.""" + best = None + frame = inspect.currentframe() + while frame is not None: + name = frame.f_code.co_name + if re.match(r"^(_async_)?(find|get)_", name) and not name.endswith("_request") \ + and "pyegeria" in frame.f_code.co_filename: + owner = frame.f_locals.get("self") + best = f"{type(owner).__name__}.{name.removeprefix('_async_')}" if owner is not None else name + frame = frame.f_back + return best or "a find/get call" + + +_SKIP_PREFIXES = ( + os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + os.sep, # the pyegeria package + os.path.dirname(os.path.abspath(asyncio.__file__)) + os.sep, # event-loop plumbing (run_sync) +) + + +def filter_body_kwargs(kind: str, kwargs: dict[str, Any], *, ignore: frozenset[str] | set[str] = frozenset()) -> dict[str, Any]: + """Return the request-body entries for the filter kwargs of a ``kind`` request. + + Keys are the body's wire names (camelCase), so they override the helper's own + defaults when splatted last into the body dict; ``None`` values are dropped. A name that is neither a filter + for this request, a rendering option, nor in ``ignore`` raises an + ``UnknownFilterWarning`` that names the bad key(s) and lists the valid ones; + it is left out of the body (Pydantic would have dropped it silently anyway). + """ + if any(k in DEPRECATED_NAMES for k in kwargs): + kwargs = canonicalize_names(dict(kwargs), owner=_calling_method()) + wire = _wire_map(kind) + body: dict[str, Any] = {} + unknown: list[str] = [] + for key, value in kwargs.items(): + if key in wire: + if value is not None: # None means "not set": never override the helper's own default + body[wire[key]] = value + elif key in RENDER_OPTIONS or key in ignore: + continue + else: + unknown.append(key) + if unknown: + valid = sorted(valid_filter_names(kind) - set(PUBLIC_ALIASES.values())) + method = _calling_method() + plural = "s" if len(unknown) > 1 else "" + msg = (f"{method}: unknown filter{plural} {', '.join(repr(k) for k in unknown)} ignored. " + f"Valid filters for this request: {', '.join(valid)}. " + f"(pyegeria will raise an error for unknown filters in a future release.)") + logger.warning(msg) + warnings.warn(msg, UnknownFilterWarning, skip_file_prefixes=_SKIP_PREFIXES) + return body + + +# -------------------------------------------------------------------------------------- +# Documentation tables, rendered from the TypedDicts and models above. +# -------------------------------------------------------------------------------------- + +@lru_cache(maxsize=None) +def _field_docs() -> dict[str, dict[str, str]]: + """{TypedDict name: {field: docstring}} parsed from this module's source.""" + with open(__file__, encoding="utf-8") as f: + tree = ast.parse(f.read()) + docs: dict[str, dict[str, str]] = {} + for node in tree.body: + if isinstance(node, ast.ClassDef) and node.name in {"GetFilters", "ListFilters", "SearchFilters", "FindFilters"}: + fields: dict[str, str] = {} + body = node.body + for i, stmt in enumerate(body): + if isinstance(stmt, ast.AnnAssign) and isinstance(stmt.target, ast.Name): + nxt = body[i + 1] if i + 1 < len(body) else None + if isinstance(nxt, ast.Expr) and isinstance(nxt.value, ast.Constant) and isinstance(nxt.value.value, str): + fields[stmt.target.id] = nxt.value.value + docs[node.name] = fields + return docs + + +def _own_fields(td: type) -> list[str]: + parents = [b for b in td.__orig_bases__ if b is not TypedDict and isinstance(b, type)] + inherited = set().union(*(set(p.__annotations__) for p in parents)) if parents else set() + return [k for k in td.__annotations__ if k not in inherited] + + +def _type_text(td: type, key: str) -> str: + with open(__file__, encoding="utf-8") as f: + tree = ast.parse(f.read()) + for node in tree.body: + if isinstance(node, ast.ClassDef) and node.name == td.__name__: + for stmt in node.body: + if isinstance(stmt, ast.AnnAssign) and getattr(stmt.target, "id", None) == key: + text = ast.unparse(stmt.annotation) + return "str" if text.startswith("Literal[") else text.replace("Literal[...] | ", "") + return "" + + +def filter_reference_markdown() -> str: + """Markdown tables of the standard filters, generated from the TypedDicts and request-body models.""" + docs = _field_docs() + lines: list[str] = [] + rows = [ + ("GetFilters", GetFilters, "`GetRequestBody`", "get_*_by_guid and other single-element gets"), + ("ListFilters", ListFilters, "`FilterRequestBody` (by name) / `ResultsRequestBody`", "get_*_by_name and other list gets"), + ("SearchFilters", SearchFilters, "`SearchStringRequestBody` / `FindPropertyNamesRequestBody`", "find_*"), + ("FindFilters", FindFilters, "`FindRequestBody`", "the complex-query finds (find_metadata_elements, find_root_elements)"), + ] + for name, td, body, used in rows: + lines.append(f"### `{name}`") + lines.append("") + parent = [b.__name__ for b in td.__orig_bases__ if isinstance(b, type) and b.__name__ in {"GetFilters", "ListFilters"}] + extra = f" Everything in `{parent[0]}`, plus:" if parent else "" + lines.append(f"Used by {used}. Maps to {body}.{extra}") + lines.append("") + lines.append("| Filter | Type | Wire name | Meaning |") + lines.append("|---|---|---|---|") + wire = _wire_map({"GetFilters": "get", "ListFilters": "name", "SearchFilters": "search", "FindFilters": "find"}[name]) + for key in _own_fields(td): + doc = docs[name].get(key, "").replace("``", "`") + lines.append(f"| `{key}` | `{_type_text(td, key)}` | `{wire[key]}` | {doc} |".replace(" | str`", " \\| str`")) + lines.append("") + lines.append("### Call parameters (explicit on the method, also accepted as filters)") + lines.append("") + lines.append("| Request body | Parameters |") + lines.append("|---|---|") + for model, params in CALL_PARAMETERS.items(): + extra = _FIND_PROPERTY_NAMES_CALL_PARAMETERS if model is SearchStringRequestBody else frozenset() + lines.append(f"| `{model.__name__}` | {', '.join(f'`{p}`' for p in sorted(params | extra))} |") + lines.append("") + lines.append("### Other accepted spellings") + lines.append("") + lines.append("| You may write | Same as |") + lines.append("|---|---|") + for alias, field_name in {**PUBLIC_ALIASES, **LEGACY_ALIASES}.items(): + lines.append(f"| `{alias}` | `{field_name}` |") + lines.append("") + lines.append("### Deprecated spellings") + lines.append("") + lines.append("These still work, with a `DeprecationWarning` naming the new name. Giving both the old and the " + "new name with different values raises `TypeError`.") + lines.append("") + lines.append("| Deprecated | Use |") + lines.append("|---|---|") + for old, new in DEPRECATED_NAMES.items(): + lines.append(f"| `{old}` | `{new}` |") + lines.append("") + lines.append("Each model field's camelCase wire name (e.g. `metadataElementSubtypeNames`) is accepted as well. " + "These rendering options are passed through to output formatting and are not warned about: " + + ", ".join(f"`{o}`" for o in sorted(RENDER_OPTIONS)) + ".") + return "\n".join(lines) + "\n" diff --git a/pyegeria/omvs/action_author.py b/pyegeria/omvs/action_author.py index e9bbcce5..c6fc7a2c 100644 --- a/pyegeria/omvs/action_author.py +++ b/pyegeria/omvs/action_author.py @@ -10,6 +10,8 @@ from pydantic import Field +from typing import Unpack +from pyegeria.core.request_filters import GetFilters from pyegeria.core._server_client import ServerClient from pyegeria.models import ( NewRelationshipRequestBody, @@ -353,7 +355,7 @@ async def _async_get_governance_action_process( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier. Async version. @@ -368,6 +370,9 @@ async def _async_get_governance_action_process( body : dict | GetRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str @@ -390,7 +395,7 @@ def get_governance_action_process( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier. @@ -405,6 +410,9 @@ def get_governance_action_process( body : dict | GetRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str @@ -423,7 +431,7 @@ async def _async_get_governance_action_process_graph( output_format: str = "JSON", report_spec: str | dict = None, body: dict | FilterRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation. Async version. @@ -439,6 +447,9 @@ async def _async_get_governance_action_process_graph( body : dict | FilterRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str @@ -461,7 +472,7 @@ def get_governance_action_process_graph( output_format: str = "JSON", report_spec: str | dict = None, body: dict | FilterRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation. @@ -477,6 +488,9 @@ def get_governance_action_process_graph( body : dict | FilterRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str diff --git a/pyegeria/omvs/actor_manager.py b/pyegeria/omvs/actor_manager.py index 87809783..ec13efef 100644 --- a/pyegeria/omvs/actor_manager.py +++ b/pyegeria/omvs/actor_manager.py @@ -12,6 +12,9 @@ from loguru import logger from pydantic import HttpUrl +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import SearchFilters from pyegeria.view.base_report_formats import select_report_spec, get_report_spec_match from pyegeria.models import (SearchStringRequestBody, FilterRequestBody, GetRequestBody, NewElementRequestBody, TemplateRequestBody, NewAttachmentRequestBody, @@ -716,6 +719,7 @@ def delete_actor_profile(self, actor_profile_guid: str, body: Optional[dict | De """ run_sync(self._async_delete_actor_profile(actor_profile_guid, body, cascade)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_actor_profiles( self, @@ -723,7 +727,7 @@ async def _async_find_actor_profiles( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ActorProfile", + metadata_element_type: str | None = "ActorProfile", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -750,7 +754,7 @@ async def _async_find_actor_profiles( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -777,6 +781,9 @@ async def _async_find_actor_profiles( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -788,7 +795,7 @@ async def _async_find_actor_profiles( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -813,13 +820,14 @@ async def _async_find_actor_profiles( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_actor_profiles( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ActorProfile", + metadata_element_type: str | None = "ActorProfile", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -846,7 +854,7 @@ def find_actor_profiles( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The subtypes to filter by. @@ -873,6 +881,9 @@ def find_actor_profiles( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -883,7 +894,7 @@ def find_actor_profiles( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -900,11 +911,12 @@ def find_actor_profiles( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_actor_profiles_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "ActorProfile", + metadata_element_type: str | None = "ActorProfile", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -922,7 +934,7 @@ async def _async_get_actor_profiles_by_name( ---------- name: str name to use to find matching profiles. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -943,6 +955,9 @@ async def _async_get_actor_profiles_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -950,7 +965,7 @@ async def _async_get_actor_profiles_by_name( url = str(HttpUrl(f"{self.command_root}/actor-profiles/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -971,10 +986,11 @@ async def _async_get_actor_profiles_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_actor_profiles_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "ActorProfile", + metadata_element_type: str | None = "ActorProfile", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -992,7 +1008,7 @@ def get_actor_profiles_by_name( ---------- name: str name to use to find matching profiles. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -1013,6 +1029,9 @@ def get_actor_profiles_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1020,7 +1039,7 @@ def get_actor_profiles_by_name( return run_sync( self._async_get_actor_profiles_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1065,6 +1084,9 @@ async def _async_get_actor_profile_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1118,6 +1140,9 @@ def get_actor_profile_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -2269,6 +2294,7 @@ def delete_actor_role(self, actor_role_guid: str, body: Optional[dict | DeleteEl """ run_sync(self._async_delete_actor_role(actor_role_guid, body, cascade)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_actor_roles( self, @@ -2276,7 +2302,7 @@ async def _async_find_actor_roles( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ActorRole", + metadata_element_type: str | None = "ActorRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2303,7 +2329,7 @@ async def _async_find_actor_roles( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -2330,6 +2356,9 @@ async def _async_find_actor_roles( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2341,7 +2370,7 @@ async def _async_find_actor_roles( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -2366,13 +2395,14 @@ async def _async_find_actor_roles( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_actor_roles( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ActorRole", + metadata_element_type: str | None = "ActorRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2399,7 +2429,7 @@ def find_actor_roles( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The subtypes to filter by. @@ -2426,6 +2456,9 @@ def find_actor_roles( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2436,7 +2469,7 @@ def find_actor_roles( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -2453,11 +2486,12 @@ def find_actor_roles( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_actor_roles_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "ActorRole", + metadata_element_type: str | None = "ActorRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2475,7 +2509,7 @@ async def _async_get_actor_roles_by_name( ---------- name: str name to use to find matching roles. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -2496,6 +2530,9 @@ async def _async_get_actor_roles_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2503,7 +2540,7 @@ async def _async_get_actor_roles_by_name( url = str(HttpUrl(f"{self.command_root}/actor-roles/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -2524,10 +2561,11 @@ async def _async_get_actor_roles_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_actor_roles_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "ActorRole", + metadata_element_type: str | None = "ActorRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2545,7 +2583,7 @@ def get_actor_roles_by_name( ---------- name: str name to use to find matching roles. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -2566,6 +2604,9 @@ def get_actor_roles_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2573,7 +2614,7 @@ def get_actor_roles_by_name( return run_sync( self._async_get_actor_roles_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -2618,6 +2659,9 @@ async def _async_get_actor_role_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -2671,6 +2715,9 @@ def get_actor_role_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -3930,6 +3977,7 @@ def delete_user_identity(self, user_identity_guid: str, body: Optional[dict | De """ run_sync(self._async_delete_user_identity(user_identity_guid, body, cascade)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_user_identities( self, @@ -3937,7 +3985,7 @@ async def _async_find_user_identities( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "UserIdentity", + metadata_element_type: str | None = "UserIdentity", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -3964,7 +4012,7 @@ async def _async_find_user_identities( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -3991,6 +4039,9 @@ async def _async_find_user_identities( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4001,7 +4052,7 @@ async def _async_find_user_identities( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -4026,6 +4077,7 @@ async def _async_find_user_identities( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_user_identities( self, @@ -4033,7 +4085,7 @@ def find_user_identities( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "UserIdentity", + metadata_element_type: str | None = "UserIdentity", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4060,7 +4112,7 @@ def find_user_identities( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -4087,6 +4139,9 @@ def find_user_identities( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4097,7 +4152,7 @@ def find_user_identities( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -4114,11 +4169,12 @@ def find_user_identities( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_user_identities_by_name( self, name: str = None, - metadata_element_type_name: str | None = "UserIdentity", + metadata_element_type: str | None = "UserIdentity", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4136,7 +4192,7 @@ async def _async_get_user_identities_by_name( ---------- name: str, optional name to use to find matching user identities. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -4157,6 +4213,9 @@ async def _async_get_user_identities_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4175,7 +4234,7 @@ async def _async_get_user_identities_by_name( url = str(HttpUrl(f"{self.command_root}/user-identities/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -4196,11 +4255,12 @@ async def _async_get_user_identities_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_user_identities_by_name( self, name: str = None, - metadata_element_type_name: str | None = "UserIdentity", + metadata_element_type: str | None = "UserIdentity", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4218,7 +4278,7 @@ def get_user_identities_by_name( ---------- name: str, optional name to use to find matching user identities. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -4239,6 +4299,9 @@ def get_user_identities_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4246,7 +4309,7 @@ def get_user_identities_by_name( return run_sync( self._async_get_user_identities_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -4291,6 +4354,9 @@ async def _async_get_user_identity_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -4345,6 +4411,9 @@ def get_user_identity_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -4804,11 +4873,12 @@ def delete_contribution_record(self, contribution_record_guid: str, body: Option """ return run_sync(self._async_delete_contribution_record(contribution_record_guid, body)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_contribution_records_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContributionRecord", + metadata_element_type: str | None = "ContributionRecord", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4826,7 +4896,7 @@ async def _async_get_contribution_records_by_name( ---------- name: str, optional name to use to find matching contribution records. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -4847,6 +4917,9 @@ async def _async_get_contribution_records_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4865,7 +4938,7 @@ async def _async_get_contribution_records_by_name( url = f"{self.command_root}/contribution-records/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -4886,11 +4959,12 @@ async def _async_get_contribution_records_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_contribution_records_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContributionRecord", + metadata_element_type: str | None = "ContributionRecord", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4908,7 +4982,7 @@ def get_contribution_records_by_name( ---------- name: str, optional name to use to find matching contribution records. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -4929,6 +5003,9 @@ def get_contribution_records_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4936,7 +5013,7 @@ def get_contribution_records_by_name( return run_sync( self._async_get_contribution_records_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -4950,6 +5027,7 @@ def get_contribution_records_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_contribution_records( self, @@ -4957,7 +5035,7 @@ async def _async_find_contribution_records( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContributionRecord", + metadata_element_type: str | None = "ContributionRecord", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -4984,7 +5062,7 @@ async def _async_find_contribution_records( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -5011,6 +5089,9 @@ async def _async_find_contribution_records( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -5021,7 +5102,7 @@ async def _async_find_contribution_records( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -5045,6 +5126,7 @@ async def _async_find_contribution_records( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_contribution_records( self, @@ -5052,7 +5134,7 @@ def find_contribution_records( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContributionRecord", + metadata_element_type: str | None = "ContributionRecord", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -5079,7 +5161,7 @@ def find_contribution_records( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -5106,6 +5188,9 @@ def find_contribution_records( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -5116,7 +5201,7 @@ def find_contribution_records( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -5140,7 +5225,7 @@ async def _async_find_all_contribution_records( page_size: int = 100, output_format: str = "JSON", report_spec: Optional[str | dict] = "Contribution-Records", - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Retrieve all contribution record metadata elements. Async Version. @@ -5155,17 +5240,19 @@ async def _async_find_all_contribution_records( report_spec: dict, optional, default = "Contribution-Records" The desired output columns/fields to include. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str """ return await self._async_find_contribution_records( - search_string="*", start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, - **kwargs, + **{"search_string": "*", **kwargs}, ) @dynamic_catch @@ -5175,7 +5262,7 @@ def find_all_contribution_records( page_size: int = 100, output_format: str = "JSON", report_spec: Optional[str | dict] = "Contribution-Records", - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Retrieve all contribution record metadata elements. @@ -5190,6 +5277,9 @@ def find_all_contribution_records( report_spec: dict, optional, default = "Contribution-Records" The desired output columns/fields to include. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -5235,6 +5325,9 @@ async def _async_get_contribution_record_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -5289,6 +5382,9 @@ def get_contribution_record_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -5983,11 +6079,12 @@ def detach_contact_details(self, element_guid: str, contact_details_guid: str, """ run_sync(self._async_detach_contact_details(element_guid, contact_details_guid, body)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_contact_details_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContactDetails", + metadata_element_type: str | None = "ContactDetails", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6005,7 +6102,7 @@ async def _async_get_contact_details_by_name( ---------- name: str, optional name to use to find matching contact details. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -6026,6 +6123,9 @@ async def _async_get_contact_details_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6044,7 +6144,7 @@ async def _async_get_contact_details_by_name( url = f"{self.command_root}/contact-details/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -6065,11 +6165,12 @@ async def _async_get_contact_details_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_contact_details_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContactDetails", + metadata_element_type: str | None = "ContactDetails", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6087,7 +6188,7 @@ def get_contact_details_by_name( ---------- name: str, optional name to use to find matching contact details. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -6108,6 +6209,9 @@ def get_contact_details_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6115,7 +6219,7 @@ def get_contact_details_by_name( return run_sync( self._async_get_contact_details_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -6129,6 +6233,7 @@ def get_contact_details_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_contact_details( self, @@ -6136,7 +6241,7 @@ async def _async_find_contact_details( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContactDetails", + metadata_element_type: str | None = "ContactDetails", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6163,7 +6268,7 @@ async def _async_find_contact_details( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -6190,6 +6295,9 @@ async def _async_find_contact_details( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -6200,7 +6308,7 @@ async def _async_find_contact_details( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -6224,6 +6332,7 @@ async def _async_find_contact_details( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_contact_details( self, @@ -6231,7 +6340,7 @@ def find_contact_details( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContactDetails", + metadata_element_type: str | None = "ContactDetails", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6258,7 +6367,7 @@ def find_contact_details( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -6285,6 +6394,9 @@ def find_contact_details( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -6295,7 +6407,7 @@ def find_contact_details( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -6343,6 +6455,9 @@ async def _async_get_contact_details_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -6397,6 +6512,9 @@ def get_contact_details_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -6786,11 +6904,12 @@ def delete_perspective(self, perspective_guid: str, body: Optional[dict | Delete """ return run_sync(self._async_delete_perspective(perspective_guid, body)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_perspectives_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Perspective", + metadata_element_type: str | None = "Perspective", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6808,7 +6927,7 @@ async def _async_get_perspectives_by_name( ---------- name: str, optional name to use to find matching perspectives. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -6829,6 +6948,9 @@ async def _async_get_perspectives_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6847,7 +6969,7 @@ async def _async_get_perspectives_by_name( url = str(HttpUrl(f"{self.command_root}/perspectives/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -6868,11 +6990,12 @@ async def _async_get_perspectives_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_perspectives_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Perspective", + metadata_element_type: str | None = "Perspective", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6890,7 +7013,7 @@ def get_perspectives_by_name( ---------- name: str, optional name to use to find matching perspectives. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -6911,6 +7034,9 @@ def get_perspectives_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6918,7 +7044,7 @@ def get_perspectives_by_name( return run_sync( self._async_get_perspectives_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -6932,6 +7058,7 @@ def get_perspectives_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_perspectives( self, @@ -6939,7 +7066,7 @@ async def _async_find_perspectives( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Perspective", + metadata_element_type: str | None = "Perspective", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -6966,7 +7093,7 @@ async def _async_find_perspectives( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -6993,6 +7120,9 @@ async def _async_find_perspectives( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -7003,7 +7133,7 @@ async def _async_find_perspectives( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -7027,6 +7157,7 @@ async def _async_find_perspectives( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_perspectives( self, @@ -7034,7 +7165,7 @@ def find_perspectives( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Perspective", + metadata_element_type: str | None = "Perspective", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -7061,7 +7192,7 @@ def find_perspectives( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -7088,6 +7219,9 @@ def find_perspectives( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -7098,7 +7232,7 @@ def find_perspectives( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -7146,6 +7280,9 @@ async def _async_get_perspective_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -7200,6 +7337,9 @@ def get_perspective_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -7589,11 +7729,12 @@ def delete_skill(self, skill_guid: str, body: Optional[dict | DeleteElementReque """ return run_sync(self._async_delete_skill(skill_guid, body)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_skills_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Skill", + metadata_element_type: str | None = "Skill", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -7611,7 +7752,7 @@ async def _async_get_skills_by_name( ---------- name: str, optional name to use to find matching skills. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -7632,6 +7773,9 @@ async def _async_get_skills_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -7650,7 +7794,7 @@ async def _async_get_skills_by_name( url = str(HttpUrl(f"{self.command_root}/skills/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -7671,11 +7815,12 @@ async def _async_get_skills_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_skills_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Skill", + metadata_element_type: str | None = "Skill", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -7693,7 +7838,7 @@ def get_skills_by_name( ---------- name: str, optional name to use to find matching skills. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -7714,6 +7859,9 @@ def get_skills_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -7721,7 +7869,7 @@ def get_skills_by_name( return run_sync( self._async_get_skills_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -7735,6 +7883,7 @@ def get_skills_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_skills( self, @@ -7742,7 +7891,7 @@ async def _async_find_skills( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Skill", + metadata_element_type: str | None = "Skill", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -7769,7 +7918,7 @@ async def _async_find_skills( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -7796,6 +7945,9 @@ async def _async_find_skills( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -7806,7 +7958,7 @@ async def _async_find_skills( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -7830,6 +7982,7 @@ async def _async_find_skills( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_skills( self, @@ -7837,7 +7990,7 @@ def find_skills( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Skill", + metadata_element_type: str | None = "Skill", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -7864,7 +8017,7 @@ def find_skills( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -7891,6 +8044,9 @@ def find_skills( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -7901,7 +8057,7 @@ def find_skills( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -7949,6 +8105,9 @@ async def _async_get_skill_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -8003,6 +8162,9 @@ def get_skill_by_guid( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/omvs/asset_catalog.py b/pyegeria/omvs/asset_catalog.py index d359a379..fa45c1e6 100644 --- a/pyegeria/omvs/asset_catalog.py +++ b/pyegeria/omvs/asset_catalog.py @@ -13,6 +13,9 @@ from loguru import logger +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import ListFilters from pyegeria.core._server_client import ServerClient from pyegeria.view.base_report_formats import select_report_format, get_report_spec_match from pyegeria.models import SearchStringRequestBody, ResultsRequestBody @@ -182,6 +185,7 @@ def _generate_asset_graph_output(self, elements: dict | list[dict], filter_strin return self._generate_asset_output(elements, None, element_type_name, output_format, report_spec, **kwargs) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_in_asset_domain( self, @@ -189,7 +193,7 @@ async def _async_find_in_asset_domain( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -213,7 +217,7 @@ async def _async_find_in_asset_domain( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Specific metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes to filter on. @@ -236,6 +240,9 @@ async def _async_find_in_asset_domain( **kwargs : dict, optional Additional parameters supported by the underlying find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -252,7 +259,7 @@ async def _async_find_in_asset_domain( """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/asset-catalog/assets/in-domain/by-search-string" - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) # Merge explicit parameters with kwargs params = { @@ -279,6 +286,7 @@ async def _async_find_in_asset_domain( response = await self._async_find_request(url, _type="Asset", _gen_output=self._generate_asset_output, **params) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_in_asset_domain( self, @@ -286,7 +294,7 @@ def find_in_asset_domain( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -310,7 +318,7 @@ def find_in_asset_domain( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Specific metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes to filter on. @@ -333,6 +341,9 @@ def find_in_asset_domain( **kwargs : dict, optional Additional parameters supported by the underlying find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -353,7 +364,7 @@ def find_in_asset_domain( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -375,7 +386,7 @@ async def _async_get_asset_graph_by_guid( output_format: str = "MERMAID", report_spec: str | dict = "Common-Mermaid", body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | dict: """Return all the elements that are anchored to an asset plus relationships between these elements and to other elements. @@ -399,6 +410,9 @@ async def _async_get_asset_graph_by_guid( **kwargs : dict, optional Additional query parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- str | dict @@ -434,7 +448,7 @@ def get_asset_graph_by_guid( output_format: str = "MERMAID", report_spec: str | dict = "Common-Mermaid", body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | dict: """Return all the elements that are anchored to an asset plus relationships between these elements and to other elements. @@ -456,6 +470,9 @@ def get_asset_graph_by_guid( **kwargs : dict, optional Additional query parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- str | dict @@ -486,7 +503,7 @@ def get_asset_mermaid_graph( self, guid: str, start_from: int = 0, - page_size: int = 0, + page_size: int = 0, **kwargs: Unpack[ListFilters], ) -> str: """Return the asset graph as mermaid markdown string. @@ -499,6 +516,9 @@ def get_asset_mermaid_graph( page_size : int, default 0 The maximum number of items to fetch. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- str @@ -513,7 +533,7 @@ def get_asset_mermaid_graph( The principle specified by the user_id does not have authorization for the requested action. """ - asset_graph = self.get_asset_graph_by_guid(guid=guid, start_from=start_from, page_size=page_size) + asset_graph = self.get_asset_graph_by_guid(guid=guid, start_from=start_from, page_size=page_size, **kwargs) return asset_graph[0] async def _async_get_asset_lineage_graph_by_guid( @@ -890,10 +910,11 @@ def get_asset_lineage_mermaid_graph( return asset_graph.get("mermaidGraph") + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_get_assets_by_metadata_collection_id( self, metadata_collection_id: str, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, graph_query_depth: int = 3, @@ -910,7 +931,7 @@ async def _async_get_assets_by_metadata_collection_id( ---------- metadata_collection_id : str The unique identity of the metadata collection to return assets from. - metadata_element_type_name : str, optional + metadata_element_type : str, optional An asset type to filter on. If not specified, all assets in the collection are returned. include_only_relationships : list[str], optional Only include these relationship types. @@ -941,7 +962,7 @@ async def _async_get_assets_by_metadata_collection_id( PyegeriaException If there are issues in communications, message format, or Egeria errors. """ - type_name = kwargs.pop("type_name", metadata_element_type_name) + type_name = kwargs.pop("type_name", metadata_element_type) kwargs.pop("effective_time", None) url = ( @@ -972,10 +993,11 @@ async def _async_get_assets_by_metadata_collection_id( output_format, report_spec) return elements + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_assets_by_metadata_collection_id( self, metadata_collection_id: str, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, graph_query_depth: int = 3, @@ -992,7 +1014,7 @@ def get_assets_by_metadata_collection_id( ---------- metadata_collection_id : str The unique identity of the metadata collection to return assets from. - metadata_element_type_name : str, optional + metadata_element_type : str, optional An asset type to filter on. If not specified, all assets in the collection are returned. include_only_relationships : list[str], optional Only include these relationship types. @@ -1026,7 +1048,7 @@ def get_assets_by_metadata_collection_id( response = run_sync( self._async_get_assets_by_metadata_collection_id( metadata_collection_id=metadata_collection_id, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, graph_query_depth=graph_query_depth, diff --git a/pyegeria/omvs/asset_maker.py b/pyegeria/omvs/asset_maker.py index c456dca6..f7f733fe 100644 --- a/pyegeria/omvs/asset_maker.py +++ b/pyegeria/omvs/asset_maker.py @@ -9,6 +9,9 @@ import asyncio from typing import Any, Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters from pyegeria.core._server_client import ServerClient from pyegeria.core._globals import max_paging_size, NO_ELEMENTS_FOUND, NO_GUID_RETURNED from pyegeria.models import ( @@ -600,11 +603,12 @@ def delete_asset( """ super().delete_asset(asset_guid, body) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_assets_by_name( self, filter_string: str | None = None, - metadata_element_type_name: str | None = "Asset", + metadata_element_type: str | None = "Asset", metadata_element_subtypes: list[str] | None = None, include_only_classified_elements: list[str] | None = None, include_only_relationships: list[str] | None = None, @@ -623,7 +627,7 @@ async def _async_get_assets_by_name( ---------- filter_string: str String to find in the asset properties. - metadata_element_type_name: str, default "Asset" + metadata_element_type: str, default "Asset" The type of asset to filter by. metadata_element_subtypes: list[str], optional The subtypes of asset to filter by. @@ -646,6 +650,9 @@ async def _async_get_assets_by_name( body: dict | FilterRequestBody, optional Additional filter parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -685,21 +692,21 @@ async def _async_get_assets_by_name( url = f"{self.asset_command_root}/assets/by-name" return await self._async_get_name_request(url, _type="Asset", _gen_output=self._generate_referenceable_output, filter_string=filter_string, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, - classification_names=include_only_classified_elements, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, body=body, **kwargs) + report_spec=report_spec, body=body, **{"classification_names": include_only_classified_elements, **kwargs}) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_assets_by_name( self, filter_string: str | None = None, - metadata_element_type_name: str | None = "Asset", + metadata_element_type: str | None = "Asset", metadata_element_subtypes: list[str] | None = None, include_only_classified_elements: list[str] | None = None, include_only_relationships: list[str] | None = None, @@ -718,7 +725,7 @@ def get_assets_by_name( ---------- filter_string: str String to find in the asset properties. - metadata_element_type_name: str, default "Asset" + metadata_element_type: str, default "Asset" The type of asset to filter by. metadata_element_subtypes: list[str], optional The subtypes of asset to filter by. @@ -741,6 +748,9 @@ def get_assets_by_name( body: dict | FilterRequestBody, optional Additional filter parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -779,7 +789,7 @@ def get_assets_by_name( """ return run_sync( self._async_get_assets_by_name(filter_string=filter_string, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_classified_elements=include_only_classified_elements, include_only_relationships=include_only_relationships, @@ -1011,6 +1021,9 @@ async def _async_get_asset_by_guid( report_spec: dict | str, optional Specification for report formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1086,6 +1099,9 @@ def get_asset_by_guid( report_spec: dict | str, optional Specification for report formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1379,7 +1395,7 @@ async def _async_get_catalog_target( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | str: """Retrieve a specific catalog target associated with an integration connector. Async version. @@ -1396,6 +1412,9 @@ async def _async_get_catalog_target( body: dict | GetRequestBody, optional Additional parameters for the request. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1432,7 +1451,7 @@ def get_catalog_target( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | str: """Retrieve a specific catalog target associated with an integration connector. @@ -1449,6 +1468,9 @@ def get_catalog_target( body: dict | GetRequestBody, optional Additional parameters for the request. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1480,7 +1502,7 @@ async def _async_get_catalog_targets( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the details of the metadata elements identified as catalog targets with an integration connector. Async version. @@ -1502,6 +1524,9 @@ async def _async_get_catalog_targets( body: dict | ResultsRequestBody, optional Additional filter parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -1545,7 +1570,7 @@ def get_catalog_targets( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the details of the metadata elements identified as catalog targets with an integration connector. @@ -1566,6 +1591,9 @@ def get_catalog_targets( body: dict | ResultsRequestBody, optional Additional filter parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -2037,6 +2065,9 @@ async def _async_find_data_assets( body: dict | ContentStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2165,6 +2196,9 @@ def find_data_assets( body: dict | ContentStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2226,7 +2260,7 @@ async def _async_get_data_assets_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | ContentStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Returns the list of data assets matching the category and optional content status. Async version. @@ -2250,6 +2284,9 @@ async def _async_get_data_assets_by_category( body: dict | ContentStatusFilterRequestBody, optional - the request body + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2271,7 +2308,6 @@ async def _async_get_data_assets_by_category( url, _type="DataAsset", _gen_output=self._generate_referenceable_output, - filter_string=category, content_status_list=content_status_list, graph_query_depth=graph_query_depth, start_from=start_from, @@ -2279,7 +2315,7 @@ async def _async_get_data_assets_by_category( output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": category, **kwargs} ) @dynamic_catch @@ -2293,7 +2329,7 @@ def get_data_assets_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | ContentStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Returns the list of data assets matching the category and optional content status. Sync version. @@ -2317,6 +2353,9 @@ def get_data_assets_by_category( body: dict | ContentStatusFilterRequestBody, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2686,24 +2725,31 @@ def link_placement_report( async def _async_get_placement_reports( self, dashboard_guid: str, - placement_qualified_names: list[str], + placement_qualified_names: list[str], **kwargs: Unpack[GetFilters], ) -> dict[str, dict]: """Read which report each placement of a dashboard is bound to. Async version. Returns one entry per placement qualified name; see `resolve_placement_reports` for the states. Raises if the dashboard itself cannot be retrieved, rather than reporting every placement as unbound: a dashboard that was never read says nothing about its placements. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). """ element = await self._async_get_asset_by_guid(dashboard_guid, - include_only_relationships=["DataSetContent"]) + **{"include_only_relationships": ["DataSetContent"], **kwargs}) if not isinstance(element, dict): raise ValueError(f"Dashboard {dashboard_guid} could not be retrieved: {element}") return resolve_placement_reports(element, placement_qualified_names) @dynamic_catch - def get_placement_reports(self, dashboard_guid: str, placement_qualified_names: list[str]) -> dict[str, dict]: - """Read which report each placement of a dashboard is bound to. See `_async_get_placement_reports`.""" - return run_sync(self._async_get_placement_reports(dashboard_guid, placement_qualified_names)) + def get_placement_reports(self, dashboard_guid: str, placement_qualified_names: list[str], **kwargs: Unpack[GetFilters]) -> dict[str, dict]: + """Read which report each placement of a dashboard is bound to. See `_async_get_placement_reports`. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + return run_sync(self._async_get_placement_reports(dashboard_guid, placement_qualified_names, **kwargs)) @dynamic_catch async def _async_detach_placement_report( @@ -3316,6 +3362,9 @@ async def _async_find_infrastructure( body: dict | DeploymentStatusSearchString, optional - the request body + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -3414,6 +3463,9 @@ def find_infrastructure( body: dict | DeploymentStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -3475,7 +3527,7 @@ async def _async_get_infrastructure_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | DeploymentStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Returns the list of infrastructure assets matching the category and optional deployment status. Async version. @@ -3499,6 +3551,9 @@ async def _async_get_infrastructure_by_category( body: dict | DeploymentStatusFilterRequestBody, optional - the request body + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -3520,7 +3575,6 @@ async def _async_get_infrastructure_by_category( url, _type="Infrastructure", _gen_output=self._generate_referenceable_output, - filter_string=category, deployment_status_list=deployment_status_list, graph_query_depth=graph_query_depth, start_from=start_from, @@ -3528,7 +3582,7 @@ async def _async_get_infrastructure_by_category( output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": category, **kwargs} ) @dynamic_catch @@ -3542,7 +3596,7 @@ def get_infrastructure_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | DeploymentStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Returns the list of infrastructure assets matching the category and optional deployment status. Sync version. @@ -3566,6 +3620,9 @@ def get_infrastructure_by_category( body: dict | DeploymentStatusFilterRequestBody, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -3973,6 +4030,9 @@ async def _async_find_processes( report_spec: str | dict, optional body: dict | ActivityStatusSearchString, optional + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4081,6 +4141,9 @@ def find_processes( body: dict | ActivityStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4142,7 +4205,7 @@ async def _async_get_processes_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | ActivityStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the processes that match the category name and status. Async version. @@ -4159,6 +4222,9 @@ async def _async_get_processes_by_category( report_spec: str | dict, optional body: dict | ActivityStatusFilterRequestBody, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4180,7 +4246,6 @@ async def _async_get_processes_by_category( url, _type="Process", _gen_output=self._generate_referenceable_output, - filter_string=category, activity_status_list=activity_status_list, graph_query_depth=graph_query_depth, start_from=start_from, @@ -4188,7 +4253,7 @@ async def _async_get_processes_by_category( output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": category, **kwargs} ) @dynamic_catch @@ -4202,7 +4267,7 @@ def get_processes_by_category( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | ActivityStatusFilterRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the processes that match the category name and status. Sync version. @@ -4226,6 +4291,9 @@ def get_processes_by_category( body: dict | ActivityStatusFilterRequestBody, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4591,7 +4659,7 @@ async def _async_get_action_target( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> list | dict | str: """ Retrieve a specific action target associated with an action. Async version. @@ -4605,6 +4673,9 @@ async def _async_get_action_target( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -4630,7 +4701,7 @@ def get_action_target( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> list | dict | str: """ Retrieve a specific action target associated with an action. Sync version. @@ -4644,6 +4715,9 @@ def get_action_target( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -4693,6 +4767,9 @@ async def _async_get_action_targets( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -4749,6 +4826,9 @@ def get_action_targets( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -4807,6 +4887,9 @@ async def _async_get_actions_for_action_target( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -4863,6 +4946,9 @@ def get_actions_for_action_target( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5087,6 +5173,9 @@ async def _async_get_assigned_actions( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5143,6 +5232,9 @@ def get_assigned_actions( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5201,6 +5293,9 @@ async def _async_get_actions_for_sponsor( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5257,6 +5352,9 @@ def get_actions_for_sponsor( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5315,6 +5413,9 @@ async def _async_get_actions_for_requester( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5371,6 +5472,9 @@ def get_actions_for_requester( output_format: str, default = "JSON" report_spec: str | dict, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -5652,11 +5756,12 @@ def update_software_capability( self._async_update_software_capability(software_capability_guid, body) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_software_capability_by_guid( self, guid: str, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict | str | None = None, @@ -5669,7 +5774,7 @@ async def _async_get_software_capability_by_guid( ---------- guid: str Unique identifier of the software capability. - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -5680,6 +5785,9 @@ async def _async_get_software_capability_by_guid( report_spec: dict | str, optional Specification for report formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -5698,7 +5806,7 @@ async def _async_get_software_capability_by_guid( url = f"{self.asset_command_root}/software-capabilities/{guid}" return await self._async_get_guid_request( url, - _type=metadata_element_type_name, + _type=metadata_element_type, _gen_output=self._generate_referenceable_output, graph_query_depth=graph_query_depth, output_format=output_format, @@ -5707,11 +5815,12 @@ async def _async_get_software_capability_by_guid( **kwargs ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_software_capability_by_guid( self, guid: str, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict | str | None = None, @@ -5724,7 +5833,7 @@ def get_software_capability_by_guid( ---------- guid: str Unique identifier of the software capability. - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -5735,6 +5844,9 @@ def get_software_capability_by_guid( report_spec: dict | str, optional Specification for report formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -5753,7 +5865,7 @@ def get_software_capability_by_guid( return run_sync( self._async_get_software_capability_by_guid( guid=guid, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, @@ -5847,6 +5959,9 @@ async def _async_find_software_capabilities( body: dict | SearchStringRequestBody, optional Additional search parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | dict | str @@ -6004,6 +6119,9 @@ def find_software_capabilities( body: dict | SearchStringRequestBody, optional Additional search parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | dict | str @@ -6046,11 +6164,12 @@ def find_software_capabilities( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_software_capabilities_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -6065,7 +6184,7 @@ async def _async_get_software_capabilities_by_name( ---------- name: str Name to filter software capabilities by. - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -6075,6 +6194,9 @@ async def _async_get_software_capabilities_by_name( report_spec: str | dict, optional body: dict | FilterRequestBody, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6095,22 +6217,22 @@ async def _async_get_software_capabilities_by_name( url, _type="SoftwareCapability", _gen_output=self._generate_referenceable_output, - filter_string=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": name, **kwargs} ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_software_capabilities_by_name( self, name: str | None = None, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -6125,7 +6247,7 @@ def get_software_capabilities_by_name( ---------- name: str Name to filter software capabilities by. - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -6135,6 +6257,9 @@ def get_software_capabilities_by_name( report_spec: str | dict, optional body: dict | FilterRequestBody, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6153,7 +6278,7 @@ def get_software_capabilities_by_name( return run_sync( self._async_get_software_capabilities_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, @@ -6164,11 +6289,12 @@ def get_software_capabilities_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_software_capabilities_by_deployed_implementation_type( self, deployed_implementation_type: str, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -6183,7 +6309,7 @@ async def _async_get_software_capabilities_by_deployed_implementation_type( ---------- deployed_implementation_type: str Deployed implementation type to filter by (e.g., "Software Server"). - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -6193,6 +6319,9 @@ async def _async_get_software_capabilities_by_deployed_implementation_type( report_spec: str | dict, optional body: dict | FilterRequestBody, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6213,22 +6342,22 @@ async def _async_get_software_capabilities_by_deployed_implementation_type( url, _type="SoftwareCapability", _gen_output=self._generate_referenceable_output, - filter_string=deployed_implementation_type, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": deployed_implementation_type, **kwargs} ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_software_capabilities_by_deployed_implementation_type( self, deployed_implementation_type: str, - metadata_element_type_name: str | None = "SoftwareCapability", + metadata_element_type: str | None = "SoftwareCapability", graph_query_depth: int = 3, start_from: int = 0, page_size: int = 0, @@ -6243,7 +6372,7 @@ def get_software_capabilities_by_deployed_implementation_type( ---------- deployed_implementation_type: str Deployed implementation type to filter by (e.g., "Software Server"). - metadata_element_type_name: str, default "SoftwareCapability" + metadata_element_type: str, default "SoftwareCapability" Metadata element type name to include in the request body. graph_query_depth: int, default 3 The depth of the graph query. @@ -6253,6 +6382,9 @@ def get_software_capabilities_by_deployed_implementation_type( report_spec: str | dict, optional body: dict | FilterRequestBody, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -6271,7 +6403,7 @@ def get_software_capabilities_by_deployed_implementation_type( return run_sync( self._async_get_software_capabilities_by_deployed_implementation_type( deployed_implementation_type=deployed_implementation_type, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, @@ -6292,7 +6424,7 @@ async def _async_get_software_capabilities_for_infrastructure( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the list of software capabilities attached to a specific infrastructure element. Async version. @@ -6307,6 +6439,9 @@ async def _async_get_software_capabilities_for_infrastructure( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6346,7 +6481,7 @@ def get_software_capabilities_for_infrastructure( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the list of software capabilities attached to a specific infrastructure element. @@ -6361,6 +6496,9 @@ def get_software_capabilities_for_infrastructure( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6571,7 +6709,7 @@ async def _async_get_capability_use( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the software capabilities using a particular asset. Async version. @@ -6586,6 +6724,9 @@ async def _async_get_capability_use( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6625,7 +6766,7 @@ def get_capability_use( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the software capabilities using a particular asset. @@ -6640,6 +6781,9 @@ def get_capability_use( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6678,7 +6822,7 @@ async def _async_get_governance_engines( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the governance engines connected to a particular governance service. Async version. @@ -6693,6 +6837,9 @@ async def _async_get_governance_engines( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6732,7 +6879,7 @@ def get_governance_engines( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the governance engines connected to a particular governance service. @@ -6747,6 +6894,9 @@ def get_governance_engines( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6942,7 +7092,7 @@ async def _async_get_integration_groups( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the integration groups connected to a particular integration connector. Async version. @@ -6957,6 +7107,9 @@ async def _async_get_integration_groups( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str @@ -6996,7 +7149,7 @@ def get_integration_groups( output_format: str = "JSON", report_spec: dict | str | None = None, body: dict | ResultsRequestBody | None = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | dict | str: """Retrieve the integration groups connected to a particular integration connector. @@ -7011,6 +7164,9 @@ def get_integration_groups( output_format: str, default "JSON" report_spec: dict | str, optional + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | dict | str diff --git a/pyegeria/omvs/automated_curation.py b/pyegeria/omvs/automated_curation.py index 7b5e948e..a5cd9a34 100644 --- a/pyegeria/omvs/automated_curation.py +++ b/pyegeria/omvs/automated_curation.py @@ -13,6 +13,9 @@ from httpx import Response from loguru import logger from pydantic import HttpUrl +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._globals import NO_ELEMENTS_FOUND from pyegeria.core._server_client import ServerClient from pyegeria.core._validators import validate_guid, validate_name, validate_search_string @@ -36,6 +39,23 @@ settings.Logging.console_logging_level = "ERROR" + +# The deployed implementation type (Egeria technology type) of the catalog template each +# create__element_from_template method instantiates. One source: Dr.Egeria's Asset Maker +# commands create elements through these methods, and gen_report_specs reads this table so the +# matching report specs list exactly that technology ("Create UC Table Element" -> "uc_table"). +ELEMENT_TEMPLATE_TECHNOLOGY: dict[str, str] = { + "kafka_server": "Apache Kafka Server", + "postgres_server": "PostgreSQL Server", + "postgres_database": "PostgreSQL Relational Database", + "uc_server": "Unity Catalog Server", + "uc_catalog": "Unity Catalog Catalog", + "uc_schema": "Unity Catalog Schema", + "uc_table": "Unity Catalog Table", + "uc_function": "Unity Catalog Function", + "uc_volume": "Unity Catalog Volume", +} + class AutomatedCuration(ServerClient): """ Client for the Automated Curation View Service. @@ -890,7 +910,7 @@ async def _async_create_kafka_server_element_from_template( str The GUID of the Kafka server element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Apache Kafka Server") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["kafka_server"]) body = { "class": "TemplateRequestBody", "templateGUID": template_guid, @@ -1239,7 +1259,7 @@ async def _async_create_postgres_server_element_from_template( # are no longer template placeholders, so these values are not sent. warnings.warn("db_user and db_pwd are deprecated and ignored; pass secrets_store_path_name " "and secrets_collection_name instead (ISSUE-160)", DeprecationWarning, stacklevel=2) - template_guid = await self._async_get_template_guid_for_technology_type("PostgreSQL Server") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["postgres_server"]) body = { "class": "TemplateRequestBody", @@ -1377,7 +1397,7 @@ async def _async_create_postgres_database_element_from_template( # are no longer template placeholders, so these values are not sent. warnings.warn("db_user and db_pwd are deprecated and ignored; pass secrets_store_path_name " "and secrets_collection_name instead (ISSUE-160)", DeprecationWarning, stacklevel=2) - template_guid = await self._async_get_template_guid_for_technology_type("PostgreSQL Relational Database") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["postgres_database"]) body = { "class": "TemplateRequestBody", @@ -1617,7 +1637,7 @@ async def _async_create_uc_server_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Server") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_server"]) body = { "class": "TemplateRequestBody", @@ -1715,7 +1735,7 @@ async def _async_create_uc_catalog_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Catalog") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_catalog"]) body = { "class": "TemplateRequestBody", @@ -1809,7 +1829,7 @@ async def _async_create_uc_schema_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Schema") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_schema"]) body = { "class": "TemplateRequestBody", @@ -1918,7 +1938,7 @@ async def _async_create_uc_table_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Table") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_table"]) body = { "class": "TemplateRequestBody", @@ -2049,7 +2069,7 @@ async def _async_create_uc_function_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Function") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_function"]) body = { "class": "TemplateRequestBody", @@ -2175,7 +2195,7 @@ async def _async_create_uc_volume_element_from_template( str The GUID of the File Folder element. """ - template_guid = await self._async_get_template_guid_for_technology_type("Unity Catalog Volume") + template_guid = await self._async_get_template_guid_for_technology_type(ELEMENT_TEMPLATE_TECHNOLOGY["uc_volume"]) body = { "class": "TemplateRequestBody", @@ -2742,10 +2762,11 @@ def get_active_engine_actions( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_get_engine_actions_by_name( self, name: str = None, - metadata_element_type_name: str | None = "EngineAction", + metadata_element_type: str | None = "EngineAction", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2765,7 +2786,7 @@ async def _async_get_engine_actions_by_name( ---------- name : str, optional The name of the engine action to retrieve. - metadata_element_type_name : str, default "EngineAction" + metadata_element_type : str, default "EngineAction" The metadata element type to filter on. metadata_element_subtypes : list[str], optional Subtypes to filter on. @@ -2788,6 +2809,9 @@ async def _async_get_engine_actions_by_name( **kwargs : dict, optional Additional query parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2812,11 +2836,11 @@ async def _async_get_engine_actions_by_name( url = f"{self.ref_curation_command_base}/assets/by-name" - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) params = { 'filter_string': name, - 'metadata_element_type_name': metadata_element_type, + 'metadata_element_type': metadata_element_type, 'metadata_element_subtypes': metadata_element_subtypes, 'include_only_relationships': include_only_relationships, 'skip_relationships': skip_relationships, @@ -2835,10 +2859,11 @@ async def _async_get_engine_actions_by_name( **params) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_engine_actions_by_name( self, name: str = None, - metadata_element_type_name: str | None = "EngineAction", + metadata_element_type: str | None = "EngineAction", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -2857,7 +2882,7 @@ def get_engine_actions_by_name( ---------- name : str The name of the engine action to retrieve. - metadata_element_type_name : str, default "EngineAction" + metadata_element_type : str, default "EngineAction" The metadata element type to filter on. metadata_element_subtypes : list[str], optional Subtypes to filter on. @@ -2881,6 +2906,9 @@ def get_engine_actions_by_name( **kwargs : dict, optional Additional query parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list of dict | str @@ -2896,7 +2924,7 @@ def get_engine_actions_by_name( return run_sync( self._async_get_engine_actions_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -2910,13 +2938,14 @@ def get_engine_actions_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_find_engine_actions( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = "EngineAction", + metadata_element_type: Optional[str] = "EngineAction", metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -2942,7 +2971,7 @@ async def _async_find_engine_actions( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, default "EngineAction" + metadata_element_type : str, default "EngineAction" The metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes. @@ -2965,6 +2994,9 @@ async def _async_find_engine_actions( **kwargs : dict, optional Additional query parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2981,7 +3013,7 @@ async def _async_find_engine_actions( """ url = f"{self.ref_curation_command_base}/assets/by-search-string" - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) # Merge explicit parameters with kwargs params = { @@ -3009,6 +3041,7 @@ async def _async_find_engine_actions( _gen_output=self._generate_engine_action_output, **params) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_engine_actions( self, @@ -3016,7 +3049,7 @@ def find_engine_actions( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = "EngineAction", + metadata_element_type: Optional[str] = "EngineAction", metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -3040,7 +3073,7 @@ def find_engine_actions( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, default "EngineAction" + metadata_element_type : str, default "EngineAction" The metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes. @@ -3063,6 +3096,9 @@ def find_engine_actions( **kwargs : dict, optional Additional query parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -3083,7 +3119,7 @@ def find_engine_actions( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -3914,7 +3950,7 @@ async def _async_get_catalog_targets( output_format: str = "JSON", report_spec: str | dict = "CatalogTarget", body: Optional[dict | FilterRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the list of catalog target metadata elements. @@ -3937,6 +3973,9 @@ async def _async_get_catalog_targets( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -3962,8 +4001,8 @@ async def _async_get_catalog_targets( response = await self._async_get_name_request(url, _type=self.CATALOG_TARGET_LABEL, _gen_output=self._generate_catalog_target_output, - filter_string=None, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body, **kwargs) + start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, body=body, **{"filter_string": None, **kwargs}) return response @@ -3975,7 +4014,7 @@ def get_catalog_targets( output_format: str = "JSON", report_spec: str | dict = "CatalogTarget", body: Optional[dict | FilterRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the list of catalog target metadata elements. @@ -3996,6 +4035,9 @@ def get_catalog_targets( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4021,7 +4063,7 @@ async def _async_get_catalog_target( output_format: str = "JSON", report_spec: str | dict = "CatalogTarget", body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Retrieve a specific catalog target associated with an integration connector. @@ -4040,6 +4082,9 @@ async def _async_get_catalog_target( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -4079,7 +4124,7 @@ def get_catalog_target( output_format: str = "JSON", report_spec: str | dict = "CatalogTarget", body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Retrieve a specific catalog target associated with an integration connector. @@ -4096,6 +4141,9 @@ def get_catalog_target( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -4429,7 +4477,7 @@ async def _async_get_tech_types_for_open_metadata_type( output_format: str = "JSON", report_spec: str | dict = "TechType", body: Optional[dict | FilterRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the list of technology types linked to an open metadata type. @@ -4454,6 +4502,9 @@ async def _async_get_tech_types_for_open_metadata_type( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4472,9 +4523,9 @@ async def _async_get_tech_types_for_open_metadata_type( url = f"{self.ref_curation_command_base}/open-metadata-types/{type_name}/technology-types" response = await self._async_get_name_request(url, _type=self.TECH_TYPE_ENTITY_LABEL, _gen_output=self._generate_tech_type_output, - filter_string=tech_name, start_from=start_from, + start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, body=body, **kwargs) + report_spec=report_spec, body=body, **{"filter_string": tech_name, **kwargs}) return response @@ -4487,7 +4538,7 @@ def get_tech_types_for_open_metadata_type( output_format: str = "JSON", report_spec: str | dict = "TechType", body: Optional[dict | FilterRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the list of technology types linked to an open metadata type. @@ -4510,6 +4561,9 @@ def get_tech_types_for_open_metadata_type( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -4794,13 +4848,14 @@ def get_template_guid_for_technology_type(self, type_name: str, **kwargs) -> str ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_find_technology_types( self, search_string: str = "*", starts_with: bool = False, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -4826,7 +4881,7 @@ async def _async_find_technology_types( Whether to search technology types that end with the given search string. ignore_case : bool, default True Whether to ignore case while searching technology types. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Metadata element type to search for. metadata_element_subtypes : list[str], optional Subtypes to filter. @@ -4849,6 +4904,9 @@ async def _async_find_technology_types( **kwargs : dict, optional Additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4873,7 +4931,7 @@ async def _async_find_technology_types( if 'sequencing_property' not in kwargs: kwargs['sequencing_property'] = "qualifiedName" - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) # Merge explicit parameters with kwargs params = { @@ -4901,13 +4959,14 @@ async def _async_find_technology_types( **params) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_technology_types( self, search_string: str = "*", starts_with: bool = False, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -4931,7 +4990,7 @@ def find_technology_types( Whether to search technology types that end with the given search string. ignore_case : bool, default True Whether to ignore case while searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Metadata element type to search for. metadata_element_subtypes : list[str], optional List of metadata element subtypes. @@ -4954,6 +5013,9 @@ def find_technology_types( **kwargs : dict, optional Additional query parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -4965,7 +5027,7 @@ def find_technology_types( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -4979,6 +5041,7 @@ def find_technology_types( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_technology_types_body( self, @@ -4987,7 +5050,7 @@ async def _async_find_technology_types_body( ends_with: bool = False, ignore_case: bool = True, anchor_domain: Optional[str] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, @@ -5008,8 +5071,12 @@ async def _async_find_technology_types_body( body: Optional[dict | SearchStringRequestBody] = None, **kwargs ) -> list | str: - """Retrieve the list of technology types that contain the search string. Async version.""" - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + """Retrieve the list of technology types that contain the search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) kwargs.pop("effective_time", None) return await self._async_find_technology_types( @@ -5018,7 +5085,6 @@ async def _async_find_technology_types_body( ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, - metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, @@ -5037,10 +5103,11 @@ async def _async_find_technology_types_body( page_size=page_size, property_names=property_names, body=body, - **kwargs + **{"metadata_element_type": metadata_element_type, **kwargs} ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_technology_types_body( self, search_string: str = "*", @@ -5048,7 +5115,7 @@ def find_technology_types_body( ends_with: bool = False, ignore_case: bool = True, anchor_domain: Optional[str] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, @@ -5083,7 +5150,7 @@ def find_technology_types_body( Whether to ignore case while searching. anchor_domain : str, optional Anchor domain to filter. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Metadata element type to search for. metadata_element_subtypes : list[str], optional Subtypes to filter. @@ -5124,6 +5191,9 @@ def find_technology_types_body( **kwargs : dict, optional Additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -5145,7 +5215,7 @@ def find_technology_types_body( ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, @@ -5174,7 +5244,7 @@ async def _async_get_all_technology_types( page_size: int = 0, output_format: str = "JSON", report_spec: str = "TechType", - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Retrieve all technology types. @@ -5193,14 +5263,17 @@ async def _async_get_all_technology_types( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str List of all technology types. """ - return await self._async_find_technology_types(search_string="*", start_from=start_from, + return await self._async_find_technology_types(start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, **kwargs) + report_spec=report_spec, **{"search_string": "*", **kwargs}) def get_all_technology_types( self, @@ -5208,7 +5281,7 @@ def get_all_technology_types( page_size: int = 0, output_format: str = "JSON", report_spec: str = "TechType", - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Retrieve all technology types. @@ -5225,13 +5298,16 @@ def get_all_technology_types( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str List of all technology types. """ - return self.find_technology_types(search_string="*", start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, **kwargs) + return self.find_technology_types(start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, **{"search_string": "*", **kwargs}) def print_engine_action_summary(self, governance_action: dict): """Print a summary of a governance engine action. @@ -5302,6 +5378,9 @@ async def _async_get_technology_type_elements( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -5405,6 +5484,9 @@ def get_technology_type_elements( **kwargs : Any Additional keyword arguments to pass to the request. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str diff --git a/pyegeria/omvs/classification_explorer.py b/pyegeria/omvs/classification_explorer.py index c2578b7f..81c19531 100644 --- a/pyegeria/omvs/classification_explorer.py +++ b/pyegeria/omvs/classification_explorer.py @@ -13,6 +13,10 @@ from httpx import Response from loguru import logger from typing import Any, Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters +from pyegeria.core.request_filters import filter_body_kwargs from pyegeria.core._exceptions import PyegeriaException, PyegeriaInvalidParameterException from pyegeria.core._server_client import ServerClient from pyegeria.core._globals import default_timeout, NO_ELEMENTS_FOUND @@ -33,6 +37,32 @@ + +# Types every element has: '*' with one of these lists the whole repository. +_ROOT_TYPES = frozenset({"OpenMetadataRoot", "Referenceable"}) +# '*' lists a type page by page: the caller's page_size, 100 when none is given, never more than 100. +STAR_PAGE_MAX = 100 + + +def _string_condition(property_name: str, operator: str, value: str) -> dict: + """One SearchProperties condition on a string property.""" + return {"property": property_name, "operator": operator, + "value": {"class": "PrimitiveTypePropertyValue", "typeName": "string", "primitiveValue": value}} + + +def _match_operator(starts_with: bool, ends_with: bool, ignore_case: bool) -> str: + """The PropertyComparisonOperator for a search string, mirroring the property-value search options. + Egeria matches the value literally (it escapes LIKE wildcards), so no regex is needed.""" + if starts_with and ends_with: + op = "EQ" + elif starts_with: + op = "STARTS_WITH" + elif ends_with: + op = "ENDS_WITH" + else: + op = "LIKE" + return f"CASE_INSENSITIVE_{op}" if ignore_case else op + class ClassificationExplorer(ServerClient): """ Client for the Classification Explorer OMVS. @@ -381,7 +411,7 @@ async def _async_get_owners_elements( body: Optional[dict | FilterRequestBody] = None, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Return information about the elements classified with the ownership classification. Async version. @@ -398,6 +428,9 @@ async def _async_get_owners_elements( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -432,11 +465,10 @@ async def _async_get_owners_elements( url=url, _type="Referenceable", _gen_output=self._generate_referenceable_output, - filter_string=owner_name, output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": owner_name, **kwargs} ) return response @@ -447,7 +479,7 @@ def get_owners_elements( body: Optional[dict | FilterRequestBody] = None, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Return information about the elements classified with the ownership classification. @@ -464,6 +496,9 @@ def get_owners_elements( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -504,7 +539,7 @@ async def _async_get_root_elements_by_category( body: Optional[dict | FilterRequestBody] = None, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements by a value found in the category property. The value must match exactly. Async version. @@ -521,6 +556,9 @@ async def _async_get_root_elements_by_category( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -553,11 +591,10 @@ async def _async_get_root_elements_by_category( url=url, _type="Referenceable", _gen_output=self._generate_referenceable_output, - filter_string=category, output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": category, **kwargs} ) return response @@ -568,7 +605,7 @@ def get_root_elements_by_category( body: Optional[dict | FilterRequestBody] = None, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements by a value found in the category property. The value must match exactly. @@ -585,6 +622,9 @@ def get_root_elements_by_category( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -623,7 +663,7 @@ async def _async_get_subject_area_members( body: dict | FilterRequestBody, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Return information about the elements classified with the subject area classification. Async version. @@ -640,6 +680,9 @@ async def _async_get_subject_area_members( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -675,11 +718,10 @@ async def _async_get_subject_area_members( url=url, _type="Referenceable", _gen_output=self._generate_referenceable_output, - filter_string=subject_area, output_format=output_format, report_spec=report_spec, body=body, - **kwargs + **{"filter_string": subject_area, **kwargs} ) return response @@ -690,7 +732,7 @@ def get_subject_area_members( body: dict | FilterRequestBody, output_format: str = "JSON", report_spec: dict | str = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Return information about the elements classified with the subject area classification. @@ -707,6 +749,9 @@ def get_subject_area_members( Type of output to return. report_spec: dict | str, default = None Output format set to use. If None, the default output format set is used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1166,7 +1211,7 @@ async def _async_get_governed_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a "governed-by" relationship to the requested governance definition. Async version. @@ -1187,6 +1232,9 @@ async def _async_get_governed_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1231,7 +1279,7 @@ def get_governed_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a "governed-by" relationship to the requested governance definition. @@ -1252,6 +1300,9 @@ def get_governed_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1294,7 +1345,7 @@ async def _async_get_governed_by_definitions( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the governance definitions linked via a "governed-by" relationship to the specified element. Async version. @@ -1315,6 +1366,9 @@ async def _async_get_governed_by_definitions( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1359,7 +1413,7 @@ def get_governed_by_definitions( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the governance definitions linked via a "governed-by" relationship to the specified element. @@ -1380,6 +1434,9 @@ def get_governed_by_definitions( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1422,7 +1479,7 @@ async def _async_get_source_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a SourceFrom relationship to the requested element. @@ -1446,6 +1503,9 @@ async def _async_get_source_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1490,7 +1550,7 @@ def get_source_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a SourceFrom relationship to the requested element. @@ -1514,6 +1574,9 @@ def get_source_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1556,7 +1619,7 @@ async def _async_get_elements_sourced_from( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the SourcedFrom relationship to the requested element. The elements @@ -1579,6 +1642,9 @@ async def _async_get_elements_sourced_from( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1623,7 +1689,7 @@ def get_elements_sourced_from( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the SourcedFrom relationship to the requested element. The elements @@ -1646,6 +1712,9 @@ def get_elements_sourced_from( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1688,7 +1757,7 @@ async def _async_get_scopes( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the scopes linked via the ScopedBy relationship to the requested element. Async version. @@ -1709,6 +1778,9 @@ async def _async_get_scopes( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1753,7 +1825,7 @@ def get_scopes( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the scopes linked via the ScopedBy relationship to the requested element. @@ -1774,6 +1846,9 @@ def get_scopes( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1816,7 +1891,7 @@ async def _async_get_scoped_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the ScopedBy relationship to the scope. Async version. @@ -1837,6 +1912,9 @@ async def _async_get_scoped_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1886,7 +1964,7 @@ def get_scoped_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the ScopedBy relationship to the scope. @@ -1907,6 +1985,9 @@ def get_scoped_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1948,7 +2029,7 @@ async def _async_get_licensed_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a License relationship to the requested LicenseType. Async version. @@ -1968,6 +2049,9 @@ async def _async_get_licensed_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2012,7 +2096,7 @@ def get_licensed_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a License relationship to the requested LicenseType. @@ -2033,6 +2117,9 @@ def get_licensed_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2075,7 +2162,7 @@ async def _async_get_licenses( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the license types linked via a License relationship to the requested element. Async version. @@ -2096,6 +2183,9 @@ async def _async_get_licenses( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2140,7 +2230,7 @@ def get_licenses( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the license types linked via a License relationship to the requested element. @@ -2161,6 +2251,9 @@ def get_licenses( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2203,7 +2296,7 @@ async def _async_get_certified_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a Certification relationship to the requested CertificationType. Async version. @@ -2224,6 +2317,9 @@ async def _async_get_certified_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2268,7 +2364,7 @@ def get_certified_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via a Certification relationship to the requested CertificationType. @@ -2289,6 +2385,9 @@ def get_certified_elements( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2331,7 +2430,7 @@ async def _async_get_certifications( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the certification types linked via a Certification relationship to the requested element. @@ -2353,6 +2452,9 @@ async def _async_get_certifications( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2397,7 +2499,7 @@ def get_certifications( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the certification types linked via a Certification relationship to the requested element. @@ -2418,6 +2520,9 @@ def get_certifications( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2485,6 +2590,9 @@ async def _async_get_elements( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2540,6 +2648,9 @@ def get_elements( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2564,11 +2675,12 @@ def get_elements( return response + @deprecated_names(metadata_element_name="metadata_element_type") async def _async_get_elements_by_property_value( self, property_value: str = None, property_names: Optional[list[str]] = None, - metadata_element_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -2606,7 +2718,7 @@ async def _async_get_elements_by_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search starts_with : bool, default = True - Whether to match only at the start. @@ -2653,6 +2765,9 @@ async def _async_get_elements_by_property_value( body: dict | FindPropertyNamesRequestBody | SearchStringRequestBody, default = None - Body of the request. If None, the default body is used. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2676,7 +2791,7 @@ async def _async_get_elements_by_property_value( return await self._async_find_request(url, "Referenceable", self._generate_referenceable_output, property_value, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - anchor_domain=anchor_domain, metadata_element_type=metadata_element_name, + anchor_domain=anchor_domain, anchor_scope_guid=anchor_scope_guid, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, @@ -2691,7 +2806,7 @@ async def _async_get_elements_by_property_value( sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - property_names=property_names, body=body, **kwargs) + property_names=property_names, body=body, **{"metadata_element_type": metadata_element_type, **kwargs}) def get_elements_by_property_value( self, @@ -2782,6 +2897,9 @@ def get_elements_by_property_value( body: dict | FindPropertyNamesRequestBody | SearchStringRequestBody, default = None - Body of the request. If None, the default body is used. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2825,11 +2943,12 @@ def get_elements_by_property_value( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_find_elements_by_property_value( self, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -2852,6 +2971,8 @@ async def _async_find_elements_by_property_value( page_size: int = 0, timeout: int = default_timeout, body: Optional[dict | FindPropertyNamesRequestBody] = None, + deployed_implementation_type: Optional[str] = None, + default_deployed_implementation_type: Optional[str] = None, **kwargs, ) -> list | str: """ @@ -2864,10 +2985,14 @@ async def _async_find_elements_by_property_value( Parameters ---------- property_value: str - - property value to be searched. + - property value to be searched. '*' (or empty) with a metadata_element_type returns every element of that type (via get_elements); '*' without a type is refused. + deployed_implementation_type: str, optional + - list only elements of exactly this technology within metadata_element_type: Egeria ANDs deployedImplementationType EQUALS this value (ignoring case) with (for a search string other than '*') property_names matching it, in one complex query, so paging stays exact. "*" means any technology (no technology condition). + default_deployed_implementation_type: str, optional + - the technology used when deployed_implementation_type is not given (report specs pin it; a caller's deployed_implementation_type overrides it). property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search starts_with : bool, default = True - Whether to match only at the start. @@ -2916,6 +3041,9 @@ async def _async_find_elements_by_property_value( body: Optional[dict | FindPropertyNamesRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2954,6 +3082,72 @@ async def _async_find_elements_by_property_value( # "effectiveTime": effective_time, # } + star = property_value in (None, "", "*") + # The technology: the caller's deployed_implementation_type if given, else the report spec's + # default; "*" means any technology (no technology condition). + technology = deployed_implementation_type or default_deployed_implementation_type + if technology == "*": + technology = None + if technology and body is None: + # One technology within a shared supertype (e.g. "PostgreSQL Server" among the + # SoftwareServers). Both conditions are ANDed by Egeria in one complex query, so paging is + # exact and no other technology can appear: deployedImplementationType EQUALS the + # technology, AND (for a search string) one of property_names matches it. + # exact, ignoring case: "postgresql server" finds the PostgreSQL Server + conditions = [_string_condition("deployedImplementationType", "CASE_INSENSITIVE_EQ", technology)] + if not star: + operator = _match_operator(starts_with, ends_with, ignore_case) + conditions.append({"nestedConditions": { + "class": "SearchProperties", "matchCriteria": "ANY", + "conditions": [_string_condition(name, operator, property_value) + for name in (property_names or ["displayName", "qualifiedName"])]}}) + filters = { + "anchor_domain": anchor_domain, "metadata_element_subtypes": metadata_element_subtypes, + "skip_relationships": skip_relationships, + "include_only_relationships": include_only_relationships, + "skip_classified_elements": skip_classified_elements, + "include_only_classified_elements": include_only_classified_elements, + "governance_zone_filter": governance_zone_filter, "as_of_time": as_of_time, + "limit_results_by_status": limit_results_by_status, "sequencing_order": sequencing_order, + "sequencing_property": sequencing_property, + } + return await self._async_find_root_elements( + metadata_element_type=metadata_element_type, + start_from=start_from, + page_size=min(page_size or STAR_PAGE_MAX, STAR_PAGE_MAX) if star else page_size, + graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, + timeout=timeout, **{k: v for k, v in filters.items() if v is not None}, + # the technology conditions win over any search_properties a caller passed + **{**kwargs, "search_properties": {"class": "SearchProperties", "matchCriteria": "ALL", + "conditions": conditions}}) + + if star and body is None: + # Egeria's property-value search refuses a null value (OPEN-METADATA-400-002), and pyegeria + # sends '*' as null. '*' with a type therefore means "every element of that type"; without + # a type there is nothing to ask for. + if not metadata_element_type or metadata_element_type in _ROOT_TYPES: + # A root type is no narrower than no type: listing every element of the repository + # ran the quickstart platform out of heap (2026-11-09), so it is refused like '*'. + raise ValueError("find_elements_by_property_value: give a search string or a narrower type " + "('*' with no metadata_element_type, or with " + f"{'/'.join(sorted(_ROOT_TYPES))}, would list every element)") + # Never fetch a whole type in one call: one page of at most STAR_PAGE_MAX, paged by start_from. + page_size = min(page_size or STAR_PAGE_MAX, STAR_PAGE_MAX) + list_filters = { + "anchor_domain": anchor_domain, "metadata_element_subtypes": metadata_element_subtypes, + "skip_relationships": skip_relationships, + "include_only_relationships": include_only_relationships, + "skip_classified_elements": skip_classified_elements, + "include_only_classified_elements": include_only_classified_elements, + "governance_zone_filter": governance_zone_filter, "as_of_time": as_of_time, + "limit_results_by_status": limit_results_by_status, "sequencing_order": sequencing_order, + "sequencing_property": sequencing_property, "graph_query_depth": graph_query_depth, + } + return await self._async_get_elements( + metadata_element_type=metadata_element_type, start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, + **{k: v for k, v in list_filters.items() if v is not None}, **kwargs) + url = f"{self.classification_command_root}/elements/by-property-value-search" params = { @@ -2961,7 +3155,7 @@ async def _async_find_elements_by_property_value( 'ends_with': ends_with, 'ignore_case': ignore_case, 'anchor_domain': anchor_domain, - 'metadata_element_type': metadata_element_type_name, + 'metadata_element_type': metadata_element_type, 'metadata_element_subtypes': metadata_element_subtypes, 'skip_relationships': skip_relationships, 'include_only_relationships': include_only_relationships, @@ -2983,15 +3177,16 @@ async def _async_find_elements_by_property_value( } params.update(kwargs) params = {k: v for k, v in params.items() if v is not None} - return await self._async_find_request(url, _type=metadata_element_type_name, + return await self._async_find_request(url, _type=metadata_element_type, _gen_output=self._generate_referenceable_output, search_string=property_value, **params) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_elements_by_property_value( self, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -3014,6 +3209,8 @@ def find_elements_by_property_value( page_size: int = 0, timeout: int = default_timeout, body: Optional[dict | FindPropertyNamesRequestBody] = None, + deployed_implementation_type: Optional[str] = None, + default_deployed_implementation_type: Optional[str] = None, **kwargs, ) -> list | str: """ @@ -3026,10 +3223,14 @@ def find_elements_by_property_value( Parameters ---------- property_value: str - - property value to be searched. + - property value to be searched. '*' (or empty) with a metadata_element_type returns every element of that type (via get_elements); '*' without a type is refused. + deployed_implementation_type: str, optional + - list only elements of exactly this technology within metadata_element_type: Egeria ANDs deployedImplementationType EQUALS this value (ignoring case) with (for a search string other than '*') property_names matching it, in one complex query, so paging stays exact. "*" means any technology (no technology condition). + default_deployed_implementation_type: str, optional + - the technology used when deployed_implementation_type is not given (report specs pin it; a caller's deployed_implementation_type overrides it). property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search start_from: int, default = 0 - index of the list to start from (0 for start). @@ -3044,6 +3245,9 @@ def find_elements_by_property_value( body: Optional[dict | FindPropertyNamesRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -3074,7 +3278,7 @@ def find_elements_by_property_value( self._async_find_elements_by_property_value( property_value, property_names, - metadata_element_type_name, + metadata_element_type, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, @@ -3097,6 +3301,8 @@ def find_elements_by_property_value( page_size=page_size, timeout=timeout, body=body, + deployed_implementation_type=deployed_implementation_type, + default_deployed_implementation_type=default_deployed_implementation_type, **kwargs ) ) @@ -3109,7 +3315,7 @@ async def _async_get_element_by_guid( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict | str = "Referenceable", body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """ Retrieve element by its unique identifier. Async version. @@ -3129,6 +3335,9 @@ async def _async_get_element_by_guid( body: dict | GetRequestBody, default = None - full request specification - if provided, overrides other parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -3165,7 +3374,7 @@ def get_element_by_guid( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """ Retrieve element by its unique identifier. @@ -3185,6 +3394,9 @@ def get_element_by_guid( body: dict | GetRequestBody, default = None - full request specification - if provided, overrides other parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -3208,9 +3420,13 @@ def get_element_by_guid( ) return response - def get_actor_for_guid(self, guid: str) -> str: - """Get the name of the actor from the supplied guid.""" - details = self.get_element_by_guid(guid, element_type_name="UserIdentity") + def get_actor_for_guid(self, guid: str, **kwargs: Unpack[GetFilters]) -> str: + """Get the name of the actor from the supplied guid. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + details = self.get_element_by_guid(guid, element_type_name="UserIdentity", **kwargs) if type(details) is str: return details if details["elementHeader"]["type"]["typeName"] != "UserIdentity": @@ -3403,7 +3619,7 @@ def get_element_guid_by_unique_name( return response async def _async_get_guid_for_name(self, name: str, property_name: list[str] = ["qualifiedName", "displayName"], - type_name: str = None, **kwargs) -> str: + type_name: str = None, **kwargs: Unpack[SearchFilters]) -> str: """ Retrieve the guid associated with the supplied element name. If more than one element returned, an exception is thrown. Async version. @@ -3417,6 +3633,9 @@ async def _async_get_guid_for_name(self, name: str, property_name: list[str] = [ type_name: str, default = "ValidMetadataValue" - metadata element type name to be used to restrict the search + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- str @@ -3440,7 +3659,7 @@ async def _async_get_guid_for_name(self, name: str, property_name: list[str] = [ def get_guid_for_name( self, name: str, property_name: list[str] = ["qualifiedName", "displayName"], - type_name: str = None, **kwargs + type_name: str = None, **kwargs: Unpack[SearchFilters] ) -> str: """ Retrieve the guid associated with the supplied element name. @@ -3455,6 +3674,9 @@ def get_guid_for_name( type_name: str, default = "ValidMetadataValue" - metadata element type name to be used to restrict the search + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- str @@ -3481,7 +3703,7 @@ async def _async_get_elements_by_classification( output_format: str = "JSON", report_spec: str | dict = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements with the requested classification name. It is also possible to limit the results @@ -3505,6 +3727,9 @@ async def _async_get_elements_by_classification( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3541,7 +3766,7 @@ def get_elements_by_classification( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements with the requested classification name. It is also possible to limit the results @@ -3565,6 +3790,9 @@ def get_elements_by_classification( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3589,12 +3817,13 @@ def get_elements_by_classification( return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_get_elements_by_classification_with_property_value( self, classification_name: str, property_value: str, property_names: Optional[list[str]] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -3634,7 +3863,7 @@ async def _async_get_elements_by_classification_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search starts_with : bool, default = True - Whether to match only at the start. @@ -3681,6 +3910,9 @@ async def _async_get_elements_by_classification_with_property_value( body: dict | FindPropertyNamesRequestBody | SearchStringRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -3707,7 +3939,6 @@ async def _async_get_elements_by_classification_with_property_value( return await self._async_find_request(url, "Referenceable", self._generate_referenceable_output, property_value, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, @@ -3721,14 +3952,15 @@ async def _async_get_elements_by_classification_with_property_value( sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - property_names=property_names, body=body, **kwargs) + property_names=property_names, body=body, **{"metadata_element_type": metadata_element_type, **kwargs}) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_elements_by_classification_with_property_value( self, classification_name: str, property_value: str, property_names: Optional[list[str]] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -3767,7 +3999,7 @@ def get_elements_by_classification_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search starts_with : bool, default = True - Whether to match only at the start. @@ -3814,6 +4046,9 @@ def get_elements_by_classification_with_property_value( body: dict | FindPropertyNamesRequestBody | SearchStringRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -3829,7 +4064,7 @@ def get_elements_by_classification_with_property_value( classification_name, property_value, property_names, - metadata_element_type_name, + metadata_element_type, starts_with, ends_with, ignore_case, @@ -3857,12 +4092,13 @@ def get_elements_by_classification_with_property_value( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_find_elements_by_classification_with_property_value( self, classification_name: str, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -3904,7 +4140,7 @@ async def _async_find_elements_by_classification_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search effective_time: str, default = None - Time format is "YYYY-MM-DDTHH:MM:SS" (ISO 8601) @@ -3921,6 +4157,9 @@ async def _async_find_elements_by_classification_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -3956,7 +4195,7 @@ async def _async_find_elements_by_classification_with_property_value( 'ends_with': ends_with, 'ignore_case': ignore_case, 'anchor_domain': anchor_domain, - 'metadata_element_type': metadata_element_type_name, + 'metadata_element_type': metadata_element_type, 'metadata_element_subtypes': metadata_element_subtypes, 'skip_relationships': skip_relationships, 'include_only_relationships': include_only_relationships, @@ -3978,16 +4217,17 @@ async def _async_find_elements_by_classification_with_property_value( } params.update(kwargs) params = {k: v for k, v in params.items() if v is not None} - return await self._async_find_request(url, _type=metadata_element_type_name, + return await self._async_find_request(url, _type=metadata_element_type, _gen_output=self._generate_referenceable_output, search_string=property_value, **params) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_elements_by_classification_with_property_value( self, classification_name: str, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, @@ -4028,7 +4268,7 @@ def find_elements_by_classification_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search effective_time: str, default = None - Time format is "YYYY-MM-DDTHH:MM:SS" (ISO 8601) @@ -4045,6 +4285,9 @@ def find_elements_by_classification_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -4060,7 +4303,7 @@ def find_elements_by_classification_with_property_value( classification_name, property_value, property_names, - metadata_element_type_name, + metadata_element_type, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, @@ -4102,7 +4345,7 @@ async def _async_get_related_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements linked by relationship type name. If the relationship type is None, then all related elements @@ -4131,6 +4374,9 @@ async def _async_get_related_elements( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -4173,7 +4419,7 @@ def get_related_elements( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve elements linked by relationship type name. If the relationship type is None, then all related elements @@ -4201,6 +4447,9 @@ def get_related_elements( body: dict | ResultsRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -4226,13 +4475,14 @@ def get_related_elements( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_get_related_elements_with_property_value( self, element_guid: str, relationship_type: str, property_value: str, property_names: Optional[list[str]] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, start_at_end: int = 1, starts_with: bool = True, ends_with: bool = False, @@ -4275,7 +4525,7 @@ async def _async_get_related_elements_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - restrict search to elements of this open metadata type start_at_end: int, default = 1 - The end of the relationship to start from - typically End1 @@ -4324,6 +4574,9 @@ async def _async_get_related_elements_with_property_value( body: dict | FindPropertyNamesRequestBody | SearchStringRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -4346,7 +4599,6 @@ async def _async_get_related_elements_with_property_value( return await self._async_find_request(url, "Referenceable", self._generate_referenceable_output, property_value, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, @@ -4360,15 +4612,16 @@ async def _async_get_related_elements_with_property_value( sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - property_names=property_names, body=body, **kwargs) + property_names=property_names, body=body, **{"metadata_element_type": metadata_element_type, **kwargs}) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_related_elements_with_property_value( self, element_guid: str, relationship_type: str, property_value: str, property_names: Optional[list[str]] = None, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, start_at_end: int = 1, starts_with: bool = True, ends_with: bool = False, @@ -4411,7 +4664,7 @@ def get_related_elements_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - open metadata type to be used to restrict the search start_at_end: int, default = 1 - The end of the relationship to start from - typically End1 @@ -4432,6 +4685,9 @@ def get_related_elements_with_property_value( report_spec: dict | str, default = None - Output format set to use. If None, the default output format set is used. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -4448,7 +4704,7 @@ def get_related_elements_with_property_value( relationship_type, property_value, property_names, - metadata_element_type_name, + metadata_element_type, start_at_end, starts_with, ends_with, @@ -4478,13 +4734,14 @@ def get_related_elements_with_property_value( return response + @deprecated_names(metadata_element_type_name="metadata_element_type") async def _async_find_related_elements_with_property_value( self, element_guid: str, relationship_type: str, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, start_at_end: int = 1, starts_with: bool = True, ends_with: bool = False, @@ -4528,7 +4785,7 @@ async def _async_find_related_elements_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - restrict search to elements of this open metadata type start_at_end: int, default = 1 - The end of the relationship to start from - typically End1 @@ -4547,6 +4804,9 @@ async def _async_find_related_elements_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -4566,7 +4826,7 @@ async def _async_find_related_elements_with_property_value( if body is None: body = { "class": "FindPropertyNamesProperties", - "metadataElementTypeName": metadata_element_type_name, + "metadataElementTypeName": metadata_element_type, "propertyValue": property_value, "propertyNames": property_names, "forLineage": None, @@ -4585,7 +4845,7 @@ async def _async_find_related_elements_with_property_value( 'ends_with': ends_with, 'ignore_case': ignore_case, 'anchor_domain': anchor_domain, - 'metadata_element_type': metadata_element_type_name, + 'metadata_element_type': metadata_element_type, 'metadata_element_subtypes': metadata_element_subtypes, 'skip_relationships': skip_relationships, 'include_only_relationships': include_only_relationships, @@ -4607,17 +4867,18 @@ async def _async_find_related_elements_with_property_value( } params.update(kwargs) params = {k: v for k, v in params.items() if v is not None} - return await self._async_find_request(url, _type=metadata_element_type_name, + return await self._async_find_request(url, _type=metadata_element_type, _gen_output=self._generate_referenceable_output, search_string=property_value, **params) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_related_elements_with_property_value( self, element_guid: str, relationship_type: str, property_value: str, property_names: list[str], - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, start_at_end: int = 1, starts_with: bool = True, ends_with: bool = False, @@ -4661,7 +4922,7 @@ def find_related_elements_with_property_value( - property value to be searched. property_names: list[str] - property names to search in. - metadata_element_type_name : str, default = None + metadata_element_type : str, default = None - restrict search to elements of this open metadata type start_at_end: int, default = 1 - The end of the relationship to start from - typically End1 @@ -4680,6 +4941,9 @@ def find_related_elements_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -4696,7 +4960,7 @@ def find_related_elements_with_property_value( relationship_type, property_value, property_names, - metadata_element_type_name, + metadata_element_type, start_at_end, starts_with=starts_with, ends_with=ends_with, @@ -5105,6 +5369,9 @@ async def _async_find_relationships_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -5142,9 +5409,8 @@ async def _async_find_relationships_with_property_value( return await self._async_find_request(url, _type=relationship_type or "Relationship", _gen_output=self._generate_referenceable_output, - search_string=property_value, starts_with=starts_with, + starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, - metadata_element_type=None, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, @@ -5157,7 +5423,7 @@ async def _async_find_relationships_with_property_value( sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - property_names=property_names, body=body, **kwargs) + property_names=property_names, body=body, **{"search_string": property_value, "metadata_element_type": None, **kwargs}) def find_relationships_with_property_value( self, @@ -5245,6 +5511,9 @@ def find_relationships_with_property_value( body: Optional[dict | SearchStringRequestBody] = None - Full request body - supercedes other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -6950,7 +7219,7 @@ async def _async_get_resource_list( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the resources linked via the ResourceList relationship to the requested element. Async version. @@ -6972,6 +7241,9 @@ async def _async_get_resource_list( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -7016,7 +7288,7 @@ def get_resource_list( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the resources linked via the ResourceList relationship to the requested element. @@ -7038,6 +7310,9 @@ def get_resource_list( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -7080,7 +7355,7 @@ async def _async_get_supported_by_resource( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the ResourceList relationship to the requested resource -- ie the @@ -7103,6 +7378,9 @@ async def _async_get_supported_by_resource( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -7147,7 +7425,7 @@ def get_supported_by_resource( output_format: str = "JSON", report_spec: dict | str = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> list | str: """ Retrieve the elements linked via the ResourceList relationship to the requested resource -- ie the @@ -7170,6 +7448,9 @@ def get_supported_by_resource( body: dict | ResultsRequestBody Details of the query. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -12451,10 +12732,11 @@ def remove_element_from_subject_area( ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_root_elements( self, - metadata_element_type_name: str = None, + metadata_element_type: str = None, search_properties: dict = None, match_classifications: dict = None, start_from: int = 0, @@ -12470,7 +12752,7 @@ async def _async_find_root_elements( Parameters ---------- - metadata_element_type_name: str, optional + metadata_element_type: str, optional - name of the type of element to return. search_properties: dict, optional - structure containing the search criteria for the properties. @@ -12489,6 +12771,9 @@ async def _async_find_root_elements( body: dict | FindRequestBody, optional - if specified, this takes precedence over other parameters. + Accepts the standard find filters as keyword arguments (see ``FindFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -12529,11 +12814,12 @@ async def _async_find_root_elements( body_dict = { 'graphQueryDepth': graph_query_depth, "class": "FindRequestBody", - "metadataElementTypeName": metadata_element_type_name, + "metadataElementTypeName": metadata_element_type, "searchProperties": search_properties, "matchClassifications": match_classifications, "startFrom": start_from, "pageSize": page_size, + **filter_body_kwargs("find", kwargs), } validated_body = FindRequestBody.model_validate(body_dict) @@ -12548,14 +12834,15 @@ async def _async_find_root_elements( if output_format.upper() != "JSON": return self._generate_referenceable_output( - elements, None, metadata_element_type_name, output_format, report_spec + elements, None, metadata_element_type, output_format, report_spec ) return elements + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_root_elements( self, - metadata_element_type_name: str = None, + metadata_element_type: str = None, search_properties: dict = None, match_classifications: dict = None, start_from: int = 0, @@ -12571,7 +12858,7 @@ def find_root_elements( Parameters ---------- - metadata_element_type_name: str, optional + metadata_element_type: str, optional - name of the type of element to return. search_properties: dict, optional - structure containing the search criteria for the properties. @@ -12590,6 +12877,9 @@ def find_root_elements( body: dict | FindRequestBody, optional - if specified, this takes precedence over other parameters. + Accepts the standard find filters as keyword arguments (see ``FindFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -12603,7 +12893,7 @@ def find_root_elements( # (get_scoped_elements/get_scopes). return run_sync( self._async_find_root_elements( - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, search_properties=search_properties, match_classifications=match_classifications, start_from=start_from, @@ -12672,6 +12962,9 @@ async def _async_find_authored_elements( body: dict | ContentStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -12780,6 +13073,9 @@ def find_authored_elements( body: dict | ContentStatusSearchString, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -12825,7 +13121,7 @@ async def _async_find_authored_elements_by_category( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, body: dict | ContentStatusFilterRequestBody = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of authored elements matching the category and optional content status. Async version. @@ -12847,6 +13143,9 @@ async def _async_find_authored_elements_by_category( body: dict | ContentStatusFilterRequestBody, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -12898,7 +13197,7 @@ def find_authored_elements_by_category( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, body: dict | ContentStatusFilterRequestBody = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of authored elements matching the category and optional content status. @@ -12919,6 +13218,9 @@ def find_authored_elements_by_category( body: dict | ContentStatusFilterRequestBody, optional - the request body to use for the request. If specified, this takes precedence over other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str diff --git a/pyegeria/omvs/collection_manager.py b/pyegeria/omvs/collection_manager.py index f53ad27d..1d3e2c23 100644 --- a/pyegeria/omvs/collection_manager.py +++ b/pyegeria/omvs/collection_manager.py @@ -13,6 +13,10 @@ from loguru import logger from pydantic import Field, HttpUrl +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import ListFilters +from pyegeria.core.request_filters import filter_body_kwargs from pyegeria.core._exceptions import PyegeriaInvalidParameterException from pyegeria.core._globals import NO_ELEMENTS_FOUND, NO_GUID_RETURNED from pyegeria.view.base_report_formats import select_report_spec, get_report_spec_match @@ -380,6 +384,7 @@ def get_attached_collections(self, parent_guid: str, start_from: int = 0, page_s body, output_format, report_spec)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_collections( self, @@ -387,7 +392,7 @@ async def _async_find_collections( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -412,7 +417,7 @@ async def _async_find_collections( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Specific metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes. @@ -437,6 +442,9 @@ async def _async_find_collections( **kwargs : dict, optional Additional query parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -453,7 +461,7 @@ async def _async_find_collections( """ url = str(HttpUrl(f"{self.collection_command_root}/by-search-string")) - metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type_name) + metadata_element_type = kwargs.pop("metadata_element_type", metadata_element_type) # Merge explicit parameters with kwargs params = { @@ -481,13 +489,14 @@ async def _async_find_collections( **params) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_collections( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -512,7 +521,7 @@ def find_collections( Ends with the supplied string. ignore_case : bool, default True Ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional Specific metadata element type to filter on. metadata_element_subtypes : list[str], optional List of metadata element subtypes. @@ -537,6 +546,9 @@ def find_collections( **kwargs : dict, optional Additional query parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -557,7 +569,7 @@ def find_collections( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -573,6 +585,7 @@ def find_collections( ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_digital_products( self, @@ -580,7 +593,7 @@ async def _async_find_digital_products( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -606,7 +619,7 @@ async def _async_find_digital_products( - if True, the search string must match the end of the property value ignore_case: bool, default = True - if True, the search is case-insensitive - metadata_element_type_name : str, optional + metadata_element_type : str, optional - Specific metadata element type to filter on metadata_element_subtypes : list[str], optional - List of metadata element subtypes @@ -631,6 +644,9 @@ async def _async_find_digital_products( **kwargs : dict, optional - Additional query parameters + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -657,12 +673,12 @@ async def _async_find_digital_products( "ignoreCase": ignore_case, "startFrom": start_from, "pageSize": page_size, - "metadataElementTypeName": metadata_element_type_name, + "metadataElementTypeName": metadata_element_type, "metadataElementSubtypeNames": metadata_element_subtypes, "includeOnlyRelationships": include_only_relationships, "skipRelationships": skip_relationships, "graphQueryDepth": graph_query_depth, - **kwargs, + **filter_body_kwargs("deployment_search", kwargs), } validated_body = DeploymentStatusSearchString.model_validate(body_dict) @@ -680,13 +696,14 @@ async def _async_find_digital_products( ) return elements + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_digital_products( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: Optional[str] = None, + metadata_element_type: Optional[str] = None, metadata_element_subtypes: Optional[list[str]] = None, include_only_relationships: Optional[list[str]] = None, skip_relationships: Optional[list[str]] = None, @@ -701,6 +718,9 @@ def find_digital_products( ) -> list | str: """ Returns the list of digital products matching the search string and optional deployment status. Sync version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ return run_sync( self._async_find_digital_products( @@ -708,7 +728,7 @@ def find_digital_products( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -830,12 +850,13 @@ def get_digital_products_by_category( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch @dynamic_catch async def _async_get_collections_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Collection", + metadata_element_type: str | None = "Collection", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -847,7 +868,11 @@ async def _async_get_collections_by_name( body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> list | str: - """Returns the list of collections with a particular name. Async version.""" + """Returns the list of collections with a particular name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ if name is None and "filter_string" in kwargs: name = kwargs.pop("filter_string") @@ -858,7 +883,7 @@ async def _async_get_collections_by_name( url = str(HttpUrl(f"{self.collection_command_root}/by-name")) params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -879,10 +904,11 @@ async def _async_get_collections_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_collections_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Collection", + metadata_element_type: str | None = "Collection", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -894,11 +920,15 @@ def get_collections_by_name( body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> list | str: - """Returns the list of collections matching the search string.""" + """Returns the list of collections matching the search string. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_collections_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -953,7 +983,7 @@ def get_collections_by_name( async def _async_get_collections_by_category(self, category: str, classification_names: Optional[list[str]] = None, body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = 'JSON', - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """Returns the list of collections with a particular category. This is an optional text field in the collection element. @@ -976,6 +1006,9 @@ async def _async_get_collections_by_category(self, category: str, classification report_spec: str | dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1006,9 +1039,9 @@ async def _async_get_collections_by_category(self, category: str, classification url = str(HttpUrl(f"{self.collection_command_root}/by-collection-category")) response = await self._async_get_name_request(url, _type="Collection", _gen_output=self._generate_collection_output, - filter_string=category, classification_names=classification_names, + classification_names=classification_names, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body) + output_format=output_format, report_spec=report_spec, body=body, **{"filter_string": category, **kwargs}) return response @@ -1017,7 +1050,7 @@ async def _async_get_collections_by_category(self, category: str, classification def get_collections_by_category(self, category: str, classification_names: Optional[list[str]] = None, body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = 'JSON', - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """Returns the list of collections with a particular collectionType. This is an optional text field in the collection element. @@ -1040,6 +1073,9 @@ def get_collections_by_category(self, category: str, classification_names: Optio report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1076,7 +1112,7 @@ def get_collections_by_category(self, category: str, classification_names: Optio return run_sync( self._async_get_collections_by_category(category, classification_names, body, start_from, page_size, - output_format, report_spec)) + output_format, report_spec, **kwargs)) @dynamic_catch @@ -1091,7 +1127,11 @@ async def _async_get_collection_by_guid( body: Optional[dict | GetRequestBody] = None, **kwargs, ) -> dict | str: - """Return the properties of a specific collection. Async version.""" + """Return the properties of a specific collection. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ if guid is None and "collection_guid" in kwargs: guid = kwargs.pop("collection_guid") @@ -1127,7 +1167,11 @@ def get_collection_by_guid( body: Optional[dict | GetRequestBody] = None, **kwargs, ) -> dict | str: - """Return the properties of a specific collection.""" + """Return the properties of a specific collection. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_collection_by_guid( guid=guid, @@ -1146,7 +1190,7 @@ def get_collection_by_guid( async def _async_get_collection_members(self, collection_guid: Optional[str] = None, collection_name: Optional[str] = None, collection_qname: Optional[str] = None, body: Optional[dict | ResultsRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """Return a list of elements that are a member of a collection. Async version. Parameters @@ -1172,6 +1216,9 @@ async def _async_get_collection_members(self, collection_guid: Optional[str] = N report_spec: str | dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1224,7 +1271,7 @@ async def _async_get_collection_members(self, collection_guid: Optional[str] = N def get_collection_members(self, collection_guid: Optional[str] = None, collection_name: Optional[str] = None, collection_qname: Optional[str] = None, body: dict = None, start_from: int = 0, page_size: int = 0, - output_format: str = "JSON", report_spec: str | dict = None, **kwargs) -> list | str: + output_format: str = "JSON", report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """Return a list of elements that are a member of a collection. Parameters ---------- @@ -1249,6 +1296,9 @@ def get_collection_members(self, collection_guid: Optional[str] = None, collecti report_spec: str | dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1288,7 +1338,7 @@ def get_collection_members(self, collection_guid: Optional[str] = None, collecti @dynamic_catch async def _async_get_collection_hierarchy(self, collection_guid: str, body: Optional[dict | ResultsRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Return a hierarchy of nested collections. Request body is optional Async version. Parameters @@ -1308,6 +1358,9 @@ async def _async_get_collection_hierarchy(self, collection_guid: str, body: Opti report_spec: dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1345,13 +1398,13 @@ async def _async_get_collection_hierarchy(self, collection_guid: str, body: Opti start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body) + body=body, **kwargs) return response def get_collection_hierarchy(self, collection_guid: Optional[str] = None, body: dict| ResultsRequestBody = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Return a graph of elements that are the nested members of a collection along with elements immediately connected to the starting collection. The result includes a mermaid graph of the returned elements. @@ -1373,6 +1426,9 @@ def get_collection_hierarchy(self, collection_guid: Optional[str] = None, body: report_spec: str | dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1403,7 +1459,7 @@ def get_collection_hierarchy(self, collection_guid: Optional[str] = None, body: """ return run_sync( self._async_get_collection_hierarchy(collection_guid, body, start_from, page_size, - output_format, report_spec)) + output_format, report_spec, **kwargs)) @dynamic_catch @@ -7259,7 +7315,7 @@ def remove_term_from_category(self, folder_guid: str, term_guid: str, @dynamic_catch async def _async_get_member_list(self, collection_guid: Optional[str] = None, collection_name: Optional[str] = None, - collection_qname: Optional[str] = None, ) -> list | str: + collection_qname: Optional[str] = None, **kwargs: Unpack[ListFilters], ) -> list | str: """Get the member list for the collection - async version. Parameters ---------- @@ -7273,6 +7329,9 @@ async def _async_get_member_list(self, collection_guid: Optional[str] = None, co qualified name of the collection to return members for. If none, collection_guid or collection_name are used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -7289,7 +7348,7 @@ async def _async_get_member_list(self, collection_guid: Optional[str] = None, co # now find the members of the collection member_list = [] - members = await self._async_get_collection_members(collection_guid, collection_name, collection_qname) + members = await self._async_get_collection_members(collection_guid, collection_name, collection_qname, **kwargs) if (type(members) is str) or (len(members) == 0): logger.trace(f"No members found for collection {collection_guid}") return "No members found" @@ -7311,7 +7370,7 @@ async def _async_get_member_list(self, collection_guid: Optional[str] = None, co def get_member_list(self, collection_guid: Optional[str] = None, collection_name: Optional[str] = None, - collection_qname: Optional[str] = None, ) -> list | bool: + collection_qname: Optional[str] = None, **kwargs: Unpack[ListFilters], ) -> list | bool: """Get the member list for a collection - async version. Parameters ---------- @@ -7324,6 +7383,9 @@ def get_member_list(self, collection_guid: Optional[str] = None, collection_name collection_qname: str, qualified name of the collection to return members for. If none, collection_guid or collection_name are used. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | bool @@ -7336,7 +7398,7 @@ def get_member_list(self, collection_guid: Optional[str] = None, collection_name """ resp = run_sync( - self._async_get_member_list(collection_guid, collection_name, collection_qname)) + self._async_get_member_list(collection_guid, collection_name, collection_qname, **kwargs)) return resp def _extract_digital_product_properties(self, element: dict, guid: str, output_format: str) -> dict: diff --git a/pyegeria/omvs/community_matters_omvs.py b/pyegeria/omvs/community_matters_omvs.py index 43a2100a..e9c63696 100644 --- a/pyegeria/omvs/community_matters_omvs.py +++ b/pyegeria/omvs/community_matters_omvs.py @@ -14,6 +14,7 @@ import asyncio from typing import Any, Optional +from pyegeria.core.request_filters import deprecated_names from pyegeria.core._server_client import ServerClient from pyegeria.models import ( NewElementRequestBody, @@ -219,6 +220,7 @@ def get_communities_by_name( # ----------------------------- # Find by search string # ----------------------------- + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_communities( self, @@ -226,7 +228,7 @@ async def _async_find_communities( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -253,7 +255,7 @@ async def _async_find_communities( Whether to match communities ending with the search string. ignore_case : bool, default=True Whether to ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The metadata element type to search for. metadata_element_subtypes : list[str], optional The subtypes of metadata element to search for. @@ -282,6 +284,9 @@ async def _async_find_communities( **kwargs : dict, optional Additional parameters supported by the find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -298,7 +303,6 @@ async def _async_find_communities( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -311,11 +315,12 @@ async def _async_find_communities( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": metadata_element_type, **kwargs}, ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_communities( self, @@ -323,7 +328,7 @@ def find_communities( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -350,7 +355,7 @@ def find_communities( Whether to match communities ending with the search string. ignore_case : bool, default=True Whether to ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The metadata element type to search for. metadata_element_subtypes : list[str], optional The subtypes of metadata element to search for. @@ -379,6 +384,9 @@ def find_communities( **kwargs : dict, optional Additional parameters supported by the find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -391,7 +399,7 @@ def find_communities( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, diff --git a/pyegeria/omvs/connection_maker.py b/pyegeria/omvs/connection_maker.py index 9dfe81e3..8c0ceb1e 100644 --- a/pyegeria/omvs/connection_maker.py +++ b/pyegeria/omvs/connection_maker.py @@ -138,7 +138,6 @@ async def _async_get_connections_by_name( url, "Connection", self._generate_referenceable_output, - filter_string=name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -148,7 +147,7 @@ async def _async_get_connections_by_name( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": name, **kwargs}, ) def get_connections_by_name( @@ -369,7 +368,6 @@ async def _async_get_connector_types_by_name( url, "ConnectorType", self._generate_referenceable_output, - filter_string=name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -379,7 +377,7 @@ async def _async_get_connector_types_by_name( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": name, **kwargs}, ) def get_connector_types_by_name( @@ -431,7 +429,6 @@ async def _async_get_connector_types_by_connector_provider_class_name( url, "ConnectorType", self._generate_referenceable_output, - filter_string=connector_provider_class_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -441,7 +438,7 @@ async def _async_get_connector_types_by_connector_provider_class_name( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": connector_provider_class_name, **kwargs}, ) def get_connector_types_by_connector_provider_class_name( @@ -662,7 +659,6 @@ async def _async_get_endpoints_by_name( url, "Endpoint", self._generate_referenceable_output, - filter_string=name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -672,7 +668,7 @@ async def _async_get_endpoints_by_name( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": name, **kwargs}, ) def get_endpoints_by_name( @@ -724,7 +720,6 @@ async def _async_get_endpoints_by_network_address( url, "Endpoint", self._generate_referenceable_output, - filter_string=network_address, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -734,7 +729,7 @@ async def _async_get_endpoints_by_network_address( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": network_address, **kwargs}, ) def get_endpoints_by_network_address( @@ -877,7 +872,6 @@ async def _async_get_endpoints_for_asset( url, "Endpoint", self._generate_referenceable_output, - filter_string=name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -887,7 +881,7 @@ async def _async_get_endpoints_for_asset( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": name, **kwargs}, ) def get_endpoints_for_asset( diff --git a/pyegeria/omvs/data_designer.py b/pyegeria/omvs/data_designer.py index 127ac7f5..dfc51229 100644 --- a/pyegeria/omvs/data_designer.py +++ b/pyegeria/omvs/data_designer.py @@ -11,6 +11,8 @@ from loguru import logger +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._server_client import max_paging_size, ServerClient from pyegeria.view.base_report_formats import select_report_spec, get_report_spec_match from pyegeria.models import (SearchStringRequestBody, FilterRequestBody, GetRequestBody, NewElementRequestBody, @@ -72,7 +74,7 @@ async def _async_find_data_value_specifications( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Find data value specifications by search string. Async version. @@ -99,6 +101,9 @@ async def _async_find_data_value_specifications( report_spec : str | dict, optional The report specification. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -138,7 +143,7 @@ def find_data_value_specifications( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Find data value specifications by search string. @@ -165,6 +170,9 @@ def find_data_value_specifications( report_spec : str | dict, optional The report specification. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -906,7 +914,7 @@ def create_data_structure_from_template(self, body: dict | TemplateRequestBody) @dynamic_catch async def _async_find_all_data_structures(self, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[SearchFilters]) -> list | str: """Returns a list of all known data structures. Async version. Parameters @@ -916,6 +924,9 @@ async def _async_find_all_data_structures(self, graph_query_depth: int = 3, outp - output format of the data structure. Possible values: "DICT", "JSON", "MERMAID". report_spec: dict, optional, default = None - The desired output columns/field options. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -932,13 +943,12 @@ async def _async_find_all_data_structures(self, graph_query_depth: int = 3, outp """ - return await self._async_find_data_structures(search_string="*", - metadata_element_type="DataStructure", + return await self._async_find_data_structures( output_format=output_format, - report_spec=report_spec) + report_spec=report_spec, **{"search_string": "*", "metadata_element_type": "DataStructure", **kwargs}) @dynamic_catch - def find_all_data_structures(self, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None) -> list | str: + def find_all_data_structures(self, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs: Unpack[SearchFilters]) -> list | str: """Returns a list of all known data structures. Parameters @@ -948,6 +958,9 @@ def find_all_data_structures(self, graph_query_depth: int = 3, output_format: st - output format of the data structure. Possible values: "DICT", "JSON", "MERMAID". report_spec: dict, optional, default = None - The desired output columns/field options. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -965,7 +978,7 @@ def find_all_data_structures(self, graph_query_depth: int = 3, output_format: st """ return run_sync(self._async_find_all_data_structures(output_format=output_format, - report_spec=report_spec)) + report_spec=report_spec, **kwargs)) @dynamic_catch async def _async_find_data_structures( @@ -979,7 +992,7 @@ async def _async_find_data_structures( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """Find the list of data structure metadata elements that contain the search string. Async version. @@ -1023,6 +1036,9 @@ async def _async_find_data_structures( - sequencing_property (str): Property to use for sequencing - property_names (list[str]): Property names to search for + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -1073,7 +1089,7 @@ def find_data_structures( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """Find the list of data structure metadata elements that contain the search string. @@ -1117,6 +1133,9 @@ def find_data_structures( - sequencing_property (str): Property to use for sequencing - property_names (list[str]): Property names to search for + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -1156,7 +1175,7 @@ async def _async_get_data_structures_by_name(self, name: Optional[str] = None, c page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """ Get the list of data structure metadata elements with a matching name to the search string filter. Async version. @@ -1175,6 +1194,9 @@ async def _async_get_data_structures_by_name(self, name: Optional[str] = None, c report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1228,7 +1250,7 @@ def get_data_structures_by_name(self, name: Optional[str] = None, classification body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = max_paging_size, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """ Get the list of data structure metadata elements with a matching name to the search string filter. Parameters @@ -1246,6 +1268,9 @@ def get_data_structures_by_name(self, name: Optional[str] = None, classification report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1274,7 +1299,7 @@ async def _async_get_data_structure_by_guid(self, guid: str = None, element_type body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Get the data structure metadata elements for the specified GUID. Async version. @@ -1291,6 +1316,9 @@ async def _async_get_data_structure_by_guid(self, guid: str = None, element_type report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1341,7 +1369,7 @@ async def _async_get_data_structure_by_guid(self, guid: str = None, element_type def get_data_structure_by_guid(self, guid: str = None, element_type: Optional[str] = None, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Get the data structure metadata element with the specified unique identifier.. Parameters @@ -1357,6 +1385,9 @@ def get_data_structure_by_guid(self, guid: str = None, element_type: Optional[st report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -1626,55 +1657,83 @@ def collect(elements: list[dict], guids: list, names: list, qnames: list) -> Non "mermaid": mermaid, } - def get_data_field_rel_elements(self, guid: str) -> dict | str: - """return the lists of objects related to a data field""" + def get_data_field_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """return the lists of objects related to a data field + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ - data_field_entry = self.get_data_field_by_guid(guid, output_format="JSON") + data_field_entry = self.get_data_field_by_guid(guid, output_format="JSON", **kwargs) if isinstance(data_field_entry, str): return None return self.get_data_rel_elements_dict(data_field_entry) - async def _async_get_data_field_rel_elements(self, guid: str) -> dict | None: - """Async version: return the lists of objects related to a data field.""" - data_field_entry = await self._async_get_data_field_by_guid(guid, output_format="JSON") + async def _async_get_data_field_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | None: + """Async version: return the lists of objects related to a data field. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + data_field_entry = await self._async_get_data_field_by_guid(guid, output_format="JSON", **kwargs) if isinstance(data_field_entry, str) or data_field_entry is None: return None return self.get_data_rel_elements_dict(data_field_entry) - def get_data_class_rel_elements(self, guid: str) -> dict | str: - """return the lists of objects related to a data class""" + def get_data_class_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """return the lists of objects related to a data class - data_class_entry = self.get_data_class_by_guid(guid, output_format="JSON") + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + + data_class_entry = self.get_data_class_by_guid(guid, output_format="JSON", **kwargs) if isinstance(data_class_entry, str): return None return self.get_data_rel_elements_dict(data_class_entry) - async def _async_get_data_class_rel_elements(self, guid: str) -> dict | None: - """Async version: return the lists of objects related to a data class.""" - data_class_entry = await self._async_get_data_class_by_guid(guid, output_format="JSON") + async def _async_get_data_class_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | None: + """Async version: return the lists of objects related to a data class. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + data_class_entry = await self._async_get_data_class_by_guid(guid, output_format="JSON", **kwargs) if isinstance(data_class_entry, str) or data_class_entry is None: return None return self.get_data_rel_elements_dict(data_class_entry) - def get_data_value_specification_rel_elements(self, guid: str) -> dict | str: - """return the lists of objects related to a data value specification""" + def get_data_value_specification_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """return the lists of objects related to a data value specification + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ - spec_entry = self.get_data_value_specification_by_guid(guid, output_format="JSON") + spec_entry = self.get_data_value_specification_by_guid(guid, output_format="JSON", **kwargs) if isinstance(spec_entry, str): return None return self.get_data_rel_elements_dict(spec_entry) - async def _async_get_data_value_specification_rel_elements(self, guid: str) -> dict | None: - """Async version: return the lists of objects related to a data value specification.""" - spec_entry = await self._async_get_data_value_specification_by_guid(guid, output_format="JSON") + async def _async_get_data_value_specification_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | None: + """Async version: return the lists of objects related to a data value specification. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + spec_entry = await self._async_get_data_value_specification_by_guid(guid, output_format="JSON", **kwargs) if isinstance(spec_entry, str) or spec_entry is None: return None return self.get_data_rel_elements_dict(spec_entry) - def get_data_grain_rel_elements(self, guid: str) -> dict | str: - """return the lists of objects related to a data grain""" + def get_data_grain_rel_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """return the lists of objects related to a data grain - grain_entry = self.get_data_grain_by_guid(guid, output_format="JSON") + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ + + grain_entry = self.get_data_grain_by_guid(guid, output_format="JSON", **kwargs) if isinstance(grain_entry, str): return None return self.get_data_rel_elements_dict(grain_entry) @@ -2591,7 +2650,7 @@ def delete_data_structure(self, data_struct_guid: str, body: dict = None, cascad @dynamic_catch async def _async_find_all_data_fields(self, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - body: dict|SearchStringRequestBody| None= None) -> list | str: + body: dict|SearchStringRequestBody| None= None, **kwargs: Unpack[SearchFilters]) -> list | str: """Returns a list of all known data fields. Async version. Parameters @@ -2604,6 +2663,9 @@ async def _async_find_all_data_fields(self, graph_query_depth: int = 3, output_f body: dict|SearchStringRequestBody, optional, default = None - The body of the request. If None, no body is sent. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2620,14 +2682,13 @@ async def _async_find_all_data_fields(self, graph_query_depth: int = 3, output_f """ - return await self._async_find_data_fields(search_string="*", - metadata_element_type="DataField", + return await self._async_find_data_fields( output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **{"search_string": "*", "metadata_element_type": "DataField", **kwargs}) @dynamic_catch def find_all_data_fields(self, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - body: dict | SearchStringRequestBody| None = None) -> list | str: + body: dict | SearchStringRequestBody| None = None, **kwargs: Unpack[SearchFilters]) -> list | str: """ Returns a list of all known data fields. Parameters @@ -2639,6 +2700,9 @@ def find_all_data_fields(self, graph_query_depth: int = 3, output_format: str = body: dict|SearchStringRequestBody, optional, default = None - The body of the request. If None, no body is sent. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2656,7 +2720,7 @@ def find_all_data_fields(self, graph_query_depth: int = 3, output_format: str = """ response = run_sync( - self._async_find_all_data_fields(graph_query_depth, output_format, report_spec, body)) + self._async_find_all_data_fields(graph_query_depth, output_format, report_spec, body, **kwargs)) return response @dynamic_catch @@ -2671,7 +2735,7 @@ async def _async_find_data_fields( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """Retrieve the list of data fields elements that contain the search string filter. Async version. @@ -2732,6 +2796,9 @@ async def _async_find_data_fields( body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2849,6 +2916,9 @@ def find_data_fields(self, search_string: str, body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- [dict] | str @@ -2886,7 +2956,7 @@ async def _async_get_data_fields_by_name(self, filter_string: str | None = None, body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Get the list of data class metadata elements with a matching name to the search string filter. Async version. @@ -2905,6 +2975,9 @@ async def _async_get_data_fields_by_name(self, filter_string: str | None = None, report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2949,7 +3022,7 @@ async def _async_get_data_fields_by_name(self, filter_string: str | None = None, def get_data_fields_by_name(self, filter_string: str | None = None, classification_names: Optional[list[str]] = None, body: dict = None, start_from: int = 0, page_size: int = max_paging_size, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Get the list of data class elements with a matching name to the search string filter. Parameters @@ -2967,6 +3040,9 @@ def get_data_fields_by_name(self, filter_string: str | None = None, classificati report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2995,8 +3071,12 @@ def get_data_fields_by_name(self, filter_string: str | None = None, classificati async def _async_get_data_field_by_guid(self, guid: str, element_type: Optional[str] = None, body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: - """Get a data field by its GUID. Async version.""" + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> list | str: + """Get a data field by its GUID. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.ref_data_designer_command_base}/data-fields/{guid}/retrieve" _type = element_type if element_type else "DataField" return await self._async_get_guid_request(url, _type=_type, @@ -3007,8 +3087,12 @@ async def _async_get_data_field_by_guid(self, guid: str, element_type: Optional[ @dynamic_catch def get_data_field_by_guid(self, guid: str, element_type: Optional[str] = None, body: Optional[dict] = None, - graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs) -> list | str: - """Get a data field by its GUID.""" + graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> list | str: + """Get a data field by its GUID. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_data_field_by_guid(guid, element_type, body, graph_query_depth, output_format, report_spec, **kwargs)) @@ -3018,7 +3102,7 @@ async def _async_get_data_value_specifications_by_name(self, filter_string: str body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Get data value specifications by name. Async version. Parameters @@ -3036,6 +3120,9 @@ async def _async_get_data_value_specifications_by_name(self, filter_string: str report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3080,7 +3167,7 @@ async def _async_get_data_value_specifications_by_name(self, filter_string: str def get_data_value_specifications_by_name(self, filter_string: str | None = None, classification_names: Optional[list[str]] = None, body: dict = None, start_from: int = 0, page_size: int = max_paging_size, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Get data value specifications by name. Parameters @@ -3099,6 +3186,9 @@ def get_data_value_specifications_by_name(self, filter_string: str | None = None - The desired output columns/field options. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3126,7 +3216,7 @@ def get_data_value_specifications_by_name(self, filter_string: str | None = None async def _async_get_data_value_specification_by_guid(self, guid: str, element_type: Optional[str] = None, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> list | str: """ Get the data value specification metadata elements for the specified GUID. Async version. @@ -3143,6 +3233,9 @@ async def _async_get_data_value_specification_by_guid(self, guid: str, element_t report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3185,7 +3278,7 @@ async def _async_get_data_value_specification_by_guid(self, guid: str, element_t @dynamic_catch def get_data_value_specification_by_guid(self, guid: str, element_type: Optional[str] = None, body: Optional[dict | GetRequestBody] = None, - graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs) -> list | str: + graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> list | str: """ Get the data value specification metadata element with the specified unique identifier.. Parameters @@ -3201,6 +3294,9 @@ def get_data_value_specification_by_guid(self, guid: str, element_type: Optional report_spec: str | dict, optional, default = None - The desired output columns/field options. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3239,9 +3335,12 @@ async def _async_get_data_class_by_guid(self, guid: str = None, element_type: Op body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """Get a data class by its GUID. Async version. Uses the data-value-specifications parent endpoint since DataClass is a subtype. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). """ if guid is None and "data_class_guid" in kwargs: guid = kwargs.pop("data_class_guid") @@ -3263,8 +3362,12 @@ async def _async_get_data_class_by_guid(self, guid: str = None, element_type: Op def get_data_class_by_guid(self, guid: str = None, element_type: Optional[str] = None, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: - """Get a data class by its GUID.""" + **kwargs: Unpack[GetFilters]) -> list | str: + """Get a data class by its GUID. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_data_class_by_guid(guid=guid, element_type=element_type, body=body, graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, **kwargs)) @@ -3272,8 +3375,12 @@ def get_data_class_by_guid(self, guid: str = None, element_type: Optional[str] = def get_data_grain_by_guid(self, guid: str = None, element_type: Optional[str] = None, body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: - """Get a data grain by its GUID. Alias for get_data_value_specification_by_guid with DataGrain type.""" + **kwargs: Unpack[GetFilters]) -> list | str: + """Get a data grain by its GUID. Alias for get_data_value_specification_by_guid with DataGrain type. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_data_value_specification_by_guid( guid=guid, element_type=element_type or "DataGrain", body=body, output_format=output_format, report_spec=report_spec, **kwargs)) diff --git a/pyegeria/omvs/data_discovery.py b/pyegeria/omvs/data_discovery.py index 68ae9c4c..66b76b00 100644 --- a/pyegeria/omvs/data_discovery.py +++ b/pyegeria/omvs/data_discovery.py @@ -9,6 +9,8 @@ import uuid from typing import Optional +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._server_client import ServerClient from pyegeria.core._globals import NO_ELEMENTS_FOUND from pyegeria.models import ( @@ -872,7 +874,7 @@ async def _async_get_annotations_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Get annotations by name. Async version. @@ -893,6 +895,9 @@ async def _async_get_annotations_by_name( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -944,7 +949,7 @@ def get_annotations_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Get annotations by name. @@ -965,6 +970,9 @@ def get_annotations_by_name( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1010,7 +1018,7 @@ async def _async_get_annotations_by_analysis_step( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get annotations by analysis step. Async version. @@ -1025,19 +1033,21 @@ async def _async_get_annotations_by_analysis_step( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/annotations/by-analysis-step" return await self._async_get_name_request( url, _type="Annotation", _gen_output=self._generate_annotation_output, - filter_string=analysis_step, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": analysis_step, **kwargs}, ) def get_annotations_by_analysis_step( @@ -1048,9 +1058,13 @@ def get_annotations_by_analysis_step( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get annotations by analysis step.""" + """Get annotations by analysis step. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_annotations_by_analysis_step( analysis_step, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1066,7 +1080,7 @@ async def _async_get_annotations_by_annotation_type( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get annotations by annotation type. Async version. @@ -1081,19 +1095,21 @@ async def _async_get_annotations_by_annotation_type( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/annotations/by-annotation-type" return await self._async_get_name_request( url, _type="Annotation", _gen_output=self._generate_annotation_output, - filter_string=annotation_type, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": annotation_type, **kwargs}, ) def get_annotations_by_annotation_type( @@ -1104,9 +1120,13 @@ def get_annotations_by_annotation_type( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get annotations by annotation type.""" + """Get annotations by annotation type. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_annotations_by_annotation_type( annotation_type, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1122,7 +1142,7 @@ async def _async_get_annotations_for_element( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get the annotations associated with an element. Async version. @@ -1136,6 +1156,9 @@ async def _async_get_annotations_for_element( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/elements/{element_guid}/associated-annotations" return await self._async_get_results_body_request( @@ -1158,9 +1181,13 @@ def get_annotations_for_element( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get the annotations associated with an element.""" + """Get the annotations associated with an element. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_annotations_for_element( element_guid, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1176,7 +1203,7 @@ async def _async_get_new_annotations( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get the new annotations for a survey report. Async version. @@ -1190,6 +1217,9 @@ async def _async_get_new_annotations( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/survey-reports/{survey_report_guid}/new-annotations" return await self._async_get_results_body_request( @@ -1212,9 +1242,13 @@ def get_new_annotations( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get the new annotations for a survey report.""" + """Get the new annotations for a survey report. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_new_annotations( survey_report_guid, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1230,7 +1264,7 @@ async def _async_get_annotation_extensions( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get the annotations that extend an annotation. Async version. @@ -1244,6 +1278,9 @@ async def _async_get_annotation_extensions( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/annotations/{annotation_guid}/annotation-extensions" return await self._async_get_results_body_request( @@ -1266,9 +1303,13 @@ def get_annotation_extensions( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get the annotations that extend an annotation.""" + """Get the annotations that extend an annotation. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_annotation_extensions( annotation_guid, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1284,7 +1325,7 @@ async def _async_get_previous_annotations( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: """Get the annotations that precede an annotation. Async version. @@ -1298,6 +1339,9 @@ async def _async_get_previous_annotations( "pageSize": 10 } ``` + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/data-discovery/annotations/{annotation_guid}/previous-annotations" return await self._async_get_results_body_request( @@ -1320,9 +1364,13 @@ def get_previous_annotations( page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[ListFilters], ) -> str | list[dict]: - """Get the annotations that precede an annotation.""" + """Get the annotations that precede an annotation. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_previous_annotations( annotation_guid, body, start_from, page_size, output_format, report_spec, **kwargs @@ -1341,7 +1389,7 @@ async def _async_find_annotations( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of annotation metadata elements that contain the search string. Async Version. @@ -1398,6 +1446,9 @@ async def _async_find_annotations( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1451,7 +1502,7 @@ def find_annotations( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of annotation metadata elements that contain the search string. @@ -1508,6 +1559,9 @@ def find_annotations( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1549,7 +1603,7 @@ async def _async_get_annotation_by_guid( body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Get annotation by GUID. Async version. @@ -1566,6 +1620,9 @@ async def _async_get_annotation_by_guid( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1614,7 +1671,7 @@ def get_annotation_by_guid( body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Annotations", - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Get annotation by GUID. @@ -1631,6 +1688,9 @@ def get_annotation_by_guid( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1742,7 +1802,7 @@ async def _async_get_security_findings( finding_types: Optional[list[str]] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Return the security findings in one survey report, or about one element, most severe first. Async version. @@ -1763,6 +1823,9 @@ async def _async_get_security_findings( report_spec : str | dict, optional Defaults to "Security-Findings". + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -1813,11 +1876,14 @@ def get_security_findings( finding_types: Optional[list[str]] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Return the security findings in one survey report, or about one element, most severe first. See _async_get_security_findings. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ return run_sync( self._async_get_security_findings(report_guid, element_guid, min_severity, finding_types, @@ -1830,7 +1896,7 @@ async def _async_get_security_posture_history( report_qualified_name_prefix: Optional[str] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Return the security posture summaries, one per test run, oldest first. Async version. @@ -1844,6 +1910,9 @@ async def _async_get_security_posture_history( report_spec : str | dict, optional Defaults to "Security-Posture". + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -1879,11 +1948,14 @@ def get_security_posture_history( report_qualified_name_prefix: Optional[str] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs, + **kwargs: Unpack[SearchFilters], ) -> list | str: """Return the security posture summaries, one per test run, oldest first. See _async_get_security_posture_history. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ return run_sync( self._async_get_security_posture_history(report_qualified_name_prefix, output_format, @@ -1955,15 +2027,15 @@ def delete_analysis_report(self, report_guid: str, body: Optional[dict | DeleteE @dynamic_catch async def _async_get_analysis_reports_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Deprecated - use AssetMaker.get_assets_by_name(name, metadata_element_type_name="SurveyReport"). Async version.""" + """Deprecated - use AssetMaker.get_assets_by_name(name, metadata_element_type="SurveyReport"). Async version.""" self._warn_analysis_report("get_analysis_reports_by_name", - 'AssetMaker.get_assets_by_name(name, metadata_element_type_name="SurveyReport")') + 'AssetMaker.get_assets_by_name(name, metadata_element_type="SurveyReport")') return await self._asset_maker_client()._async_get_assets_by_name( - filter_string=name, metadata_element_type_name="SurveyReport", start_from=start_from, + filter_string=name, metadata_element_type="SurveyReport", start_from=start_from, page_size=page_size, **kwargs) def get_analysis_reports_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Deprecated - use AssetMaker.get_assets_by_name(name, metadata_element_type_name="SurveyReport").""" + """Deprecated - use AssetMaker.get_assets_by_name(name, metadata_element_type="SurveyReport").""" return run_sync(self._async_get_analysis_reports_by_name(name, start_from, page_size, **kwargs)) @dynamic_catch diff --git a/pyegeria/omvs/data_engineer.py b/pyegeria/omvs/data_engineer.py index fe48278f..70fccb93 100644 --- a/pyegeria/omvs/data_engineer.py +++ b/pyegeria/omvs/data_engineer.py @@ -9,6 +9,8 @@ from pydantic import HttpUrl +from typing import Unpack +from pyegeria.core.request_filters import SearchFilters from pyegeria.core._exceptions import PyegeriaException from pyegeria.core.utils import dynamic_catch, transform_json_to_tabular from pyegeria.core._server_client import ServerClient @@ -85,7 +87,7 @@ async def _async_find_tabular_data_sets( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of tabular data set metadata elements that contain the search string. Async Version. @@ -142,6 +144,9 @@ async def _async_find_tabular_data_sets( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -195,7 +200,7 @@ def find_tabular_data_sets( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of tabular data set metadata elements that contain the search string. @@ -252,6 +257,9 @@ def find_tabular_data_sets( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str diff --git a/pyegeria/omvs/digital_business.py b/pyegeria/omvs/digital_business.py index 961a919e..09d6417d 100644 --- a/pyegeria/omvs/digital_business.py +++ b/pyegeria/omvs/digital_business.py @@ -11,6 +11,9 @@ import asyncio from typing import Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters from pyegeria.omvs.collection_manager import CollectionManager from pyegeria.core._server_client import ServerClient from pyegeria.models import ( @@ -321,7 +324,7 @@ async def _async_get_business_capability_by_guid( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = "BusinessCapabilities", body: Optional[dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific business capability by GUID. Async version. @@ -336,6 +339,9 @@ async def _async_get_business_capability_by_guid( body : dict, optional Request body (typically empty for retrieval). + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -373,7 +379,7 @@ def get_business_capability_by_guid( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = "BusinessCapabilities", body: Optional[dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific business capability by GUID. Sync version. @@ -388,6 +394,9 @@ def get_business_capability_by_guid( body : dict, optional Request body (typically empty for retrieval). + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -409,11 +418,12 @@ def get_business_capability_by_guid( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_business_capabilities_by_name( self, name: str = None, - metadata_element_type_name: str | None = "BusinessCapability", + metadata_element_type: str | None = "BusinessCapability", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -431,7 +441,7 @@ async def _async_get_business_capabilities_by_name( ---------- name: str, optional name to use to find matching business capabilities. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -452,6 +462,9 @@ async def _async_get_business_capabilities_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -470,7 +483,7 @@ async def _async_get_business_capabilities_by_name( url = f"{self.digital_business_command_root}/collections/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -491,10 +504,11 @@ async def _async_get_business_capabilities_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_business_capabilities_by_name( self, name: str = None, - metadata_element_type_name: str | None = "BusinessCapability", + metadata_element_type: str | None = "BusinessCapability", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -512,7 +526,7 @@ def get_business_capabilities_by_name( ---------- name: str, optional name to use to find matching business capabilities. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -533,6 +547,9 @@ def get_business_capabilities_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -551,7 +568,7 @@ def get_business_capabilities_by_name( return run_sync( self._async_get_business_capabilities_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -565,6 +582,7 @@ def get_business_capabilities_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_business_capabilities( self, @@ -572,7 +590,7 @@ async def _async_find_business_capabilities( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "BusinessCapability", + metadata_element_type: str | None = "BusinessCapability", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -599,7 +617,7 @@ async def _async_find_business_capabilities( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -626,6 +644,9 @@ async def _async_find_business_capabilities( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -637,7 +658,7 @@ async def _async_find_business_capabilities( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -662,13 +683,14 @@ async def _async_find_business_capabilities( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_business_capabilities( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "BusinessCapability", + metadata_element_type: str | None = "BusinessCapability", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -695,7 +717,7 @@ def find_business_capabilities( Whether to match at the end. Defaults to False. ignore_case : bool, optional Whether to ignore case. Defaults to True. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The subtypes to filter by. @@ -722,6 +744,9 @@ def find_business_capabilities( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -732,7 +757,7 @@ def find_business_capabilities( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, diff --git a/pyegeria/omvs/external_links.py b/pyegeria/omvs/external_links.py index 1c9e5532..f6958517 100644 --- a/pyegeria/omvs/external_links.py +++ b/pyegeria/omvs/external_links.py @@ -12,6 +12,8 @@ from loguru import logger from pydantic import HttpUrl +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._globals import NO_GUID_RETURNED from pyegeria.view.base_report_formats import select_report_spec, get_report_spec_match from pyegeria.models import (SearchStringRequestBody, FilterRequestBody, GetRequestBody, NewElementRequestBody, @@ -1207,7 +1209,7 @@ async def _async_find_external_references( page_size: int = 100, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of external reference metadata elements that contain the search string. Async Version. @@ -1264,6 +1266,9 @@ async def _async_find_external_references( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1318,7 +1323,7 @@ def find_external_references( page_size: int = 100, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of external reference metadata elements that contain the search string. @@ -1375,6 +1380,9 @@ def find_external_references( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1415,7 +1423,7 @@ async def _async_get_external_references_by_name(self, name: Optional[str] = Non start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """ Returns the list of external references with a particular name. Parameters @@ -1436,6 +1444,9 @@ async def _async_get_external_references_by_name(self, name: Optional[str] = Non report_spec: dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1479,7 +1490,7 @@ def get_external_references_by_name(self, name: Optional[str] = None, classifica body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """Returns the list of external references matching the filter string. Async version. The search string is located in the request body and is interpreted as a plain string. The request parameters, startsWith, endsWith, and ignoreCase can be used to allow a fuzzy search. @@ -1502,6 +1513,9 @@ def get_external_references_by_name(self, name: Optional[str] = None, classifica report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1525,7 +1539,7 @@ async def _async_get_external_reference_by_guid(self, guid: str, element_type: O body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs) -> dict | str: + **kwargs: Unpack[GetFilters]) -> dict | str: """Return the properties of a specific external reference. Async version. Parameters @@ -1541,6 +1555,9 @@ async def _async_get_external_reference_by_guid(self, guid: str, element_type: O report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1594,7 +1611,7 @@ def get_external_reference_by_guid(self, guid: str, element_type: Optional[str] body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = "ExternalReference", - **kwargs) -> dict | str: + **kwargs: Unpack[GetFilters]) -> dict | str: """ Return the properties of a specific external reference. Async version. Parameters @@ -1611,6 +1628,9 @@ def get_external_reference_by_guid(self, guid: str, element_type: Optional[str] The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -2076,7 +2096,7 @@ async def _async_get_external_identifiers_by_name(self, name: str = "*", start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[ListFilters]) -> Any: """ Returns the list of external identifiers with a particular name. Async version. @@ -2100,6 +2120,9 @@ async def _async_get_external_identifiers_by_name(self, name: str = "*", report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Any - list of matching metadata elements or formatted output @@ -2132,8 +2155,8 @@ async def _async_get_external_identifiers_by_name(self, name: str = "*", url = f"{self.command_root}/external-identifiers/by-name" return await self._async_get_name_request(url, "ExternalId", self._generate_external_identifier_output, - filter_string=name, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body, **kwargs) + start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, body=body, **{"filter_string": name, **kwargs}) @dynamic_catch def get_external_identifiers_by_name(self, name: str = "*", @@ -2141,7 +2164,7 @@ def get_external_identifiers_by_name(self, name: str = "*", start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[ListFilters]) -> Any: """ Returns the list of external identifiers with a particular name. Parameters @@ -2164,6 +2187,9 @@ def get_external_identifiers_by_name(self, name: str = "*", report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Any - list of matching metadata elements or formatted output @@ -2179,7 +2205,7 @@ async def _async_find_external_identifiers(self, search_string: str = "*", ignore_case: bool = True, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[SearchFilters]) -> Any: """ Retrieve the list of external identifiers metadata elements that contain the search string. Async version. @@ -2212,6 +2238,9 @@ async def _async_find_external_identifiers(self, search_string: str = "*", report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- Any - list of matching metadata elements or formatted output @@ -2257,7 +2286,7 @@ def find_external_identifiers(self, search_string: str = "*", ignore_case: bool = True, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[SearchFilters]) -> Any: """ Retrieve the list of external identifiers metadata elements that contain the search string. Parameters @@ -2289,6 +2318,9 @@ def find_external_identifiers(self, search_string: str = "*", report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- Any - list of matching metadata elements or formatted output @@ -2303,7 +2335,7 @@ async def _async_get_external_identifiers_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[GetFilters]) -> Any: """ Return the properties of a specific external identifier. Async version. @@ -2321,6 +2353,9 @@ async def _async_get_external_identifiers_by_guid(self, guid: str, report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Any - the matching metadata element or formatted output @@ -2354,7 +2389,7 @@ def get_external_identifiers_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, output_format: str = "JSON", report_spec: Optional[str | dict] = "ExternalIdentifier", - **kwargs) -> Any: + **kwargs: Unpack[GetFilters]) -> Any: """ Return the properties of a specific external identifier. Parameters @@ -2371,6 +2406,9 @@ def get_external_identifiers_by_guid(self, guid: str, report_spec: str | dict, optional, default = "ExternalIdentifier" The report specification to use. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Any - the matching metadata element or formatted output diff --git a/pyegeria/omvs/glossary_manager.py b/pyegeria/omvs/glossary_manager.py index 0a190306..a890dd82 100644 --- a/pyegeria/omvs/glossary_manager.py +++ b/pyegeria/omvs/glossary_manager.py @@ -15,6 +15,9 @@ from loguru import logger from pydantic import Field +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters from pyegeria.core._exceptions import PyegeriaInvalidParameterException, PyegeriaException from pyegeria.core._globals import NO_GUID_RETURNED from pyegeria.core._validators import validate_guid @@ -3400,6 +3403,7 @@ def get_term_relationship_types(self) -> [str]: response = run_sync(self._async_get_term_relationship_types()) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_glossaries( self, @@ -3407,7 +3411,7 @@ async def _async_find_glossaries( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Glossary", + metadata_element_type: str | None = "Glossary", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -3434,7 +3438,7 @@ async def _async_find_glossaries( Whether to match glossaries ending with the search string. ignore_case : bool, default=True Whether to ignore case when searching. - metadata_element_type_name : str, default="Glossary" + metadata_element_type : str, default="Glossary" The metadata element type to search for. metadata_element_subtypes : list[str], optional The subtypes of metadata element to search for. @@ -3463,6 +3467,9 @@ async def _async_find_glossaries( **kwargs : dict, optional Additional parameters supported by the find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -3478,7 +3485,6 @@ async def _async_find_glossaries( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -3491,10 +3497,11 @@ async def _async_find_glossaries( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": metadata_element_type, **kwargs}, ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_glossaries( self, @@ -3502,7 +3509,7 @@ def find_glossaries( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Glossary", + metadata_element_type: str | None = "Glossary", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -3517,14 +3524,18 @@ def find_glossaries( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Retrieve the list of glossary metadata elements that contain the search string.""" + """Retrieve the list of glossary metadata elements that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_glossaries( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -3563,7 +3574,6 @@ async def _async_get_glossaries_by_name( _type="Glossary", _gen_output=self._generate_glossary_output, filter_string=filter_string, - metadata_element_type_name="Glossary", metadata_element_subtypes=metadata_element_subtypes, classification_names=classification_names, include_only_relationships=include_only_relationships, @@ -3574,7 +3584,7 @@ async def _async_get_glossaries_by_name( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": "Glossary", **kwargs}, ) return response @@ -3788,6 +3798,7 @@ def get_term_by_guid( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_glossary_terms( self, @@ -3795,7 +3806,7 @@ async def _async_find_glossary_terms( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "GlossaryTerm", + metadata_element_type: str | None = "GlossaryTerm", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -3822,7 +3833,7 @@ async def _async_find_glossary_terms( Whether to match terms ending with the search string. ignore_case : bool, default=True Whether to ignore case when searching. - metadata_element_type_name : str, default="GlossaryTerm" + metadata_element_type : str, default="GlossaryTerm" The metadata element type to search for. metadata_element_subtypes : list[str], optional The subtypes of metadata element to search for. @@ -3851,6 +3862,9 @@ async def _async_find_glossary_terms( **kwargs : dict, optional Additional parameters supported by the find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -3860,13 +3874,12 @@ async def _async_find_glossary_terms( response = await self._async_find_request( url, - _type=metadata_element_type_name, + _type=metadata_element_type, _gen_output=self._generate_term_output, search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -3879,11 +3892,12 @@ async def _async_find_glossary_terms( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": metadata_element_type, **kwargs}, ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_glossary_terms( self, @@ -3891,7 +3905,7 @@ def find_glossary_terms( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "GlossaryTerm", + metadata_element_type: str | None = "GlossaryTerm", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -3906,14 +3920,18 @@ def find_glossary_terms( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Retrieve the list of glossary term metadata elements that contain the search string.""" + """Retrieve the list of glossary term metadata elements that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_glossary_terms( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -3930,7 +3948,7 @@ def find_glossary_terms( ) ) - async def _async_get_glossary_for_term(self, term_guid: str) -> dict: + async def _async_get_glossary_for_term(self, term_guid: str, **kwargs: Unpack[GetFilters]) -> dict: """Returns the glossary containing the term with the supplied GUID. Async version. Parameters @@ -3938,6 +3956,9 @@ async def _async_get_glossary_for_term(self, term_guid: str) -> dict: term_guid : str The unique identifier of the term to find the glossary for. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict @@ -3948,7 +3969,7 @@ async def _async_get_glossary_for_term(self, term_guid: str) -> dict: PyegeriaException If the term is not found, or it is not anchored to any glossary. """ - term = await self._async_get_term_by_guid(term_guid, output_format="JSON") + term = await self._async_get_term_by_guid(term_guid, output_format="JSON", **kwargs) if not isinstance(term, dict): raise PyegeriaException("Term not found or invalid format returned") @@ -3962,10 +3983,10 @@ async def _async_get_glossary_for_term(self, term_guid: str) -> dict: if not glossary_guid: raise PyegeriaException(f"Term '{term_guid}' is not anchored to any glossary") - return await self._async_get_glossary_by_guid(glossary_guid) + return await self._async_get_glossary_by_guid(glossary_guid, **kwargs) @dynamic_catch - def get_glossary_for_term(self, term_guid: str) -> dict: + def get_glossary_for_term(self, term_guid: str, **kwargs: Unpack[GetFilters]) -> dict: """Returns the glossary containing the term with the supplied GUID. Parameters @@ -3973,6 +3994,9 @@ def get_glossary_for_term(self, term_guid: str) -> dict: term_guid : str The unique identifier of the term to find the glossary for. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict @@ -3983,7 +4007,7 @@ def get_glossary_for_term(self, term_guid: str) -> dict: PyegeriaException If the term is not found, or it is not anchored to any glossary. """ - return run_sync(self._async_get_glossary_for_term(term_guid)) + return run_sync(self._async_get_glossary_for_term(term_guid, **kwargs)) # # Naming standards classifications (0438) -- Egeria PR #9166. Simple marker diff --git a/pyegeria/omvs/governance_officer.py b/pyegeria/omvs/governance_officer.py index 6a5232a8..6e714a39 100644 --- a/pyegeria/omvs/governance_officer.py +++ b/pyegeria/omvs/governance_officer.py @@ -15,6 +15,8 @@ from loguru import logger from pydantic import Field +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._server_client import ServerClient from pyegeria.view.base_report_formats import select_report_spec, get_report_spec_match from pyegeria.view.output_formatter import ( @@ -2107,7 +2109,7 @@ async def _async_find_governance_definitions( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of governance definition metadata elements that contain the search string. Async Version. @@ -2164,6 +2166,9 @@ async def _async_find_governance_definitions( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -2221,7 +2226,7 @@ def find_governance_definitions( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of governance definition metadata elements that contain the search string. @@ -2278,6 +2283,9 @@ def find_governance_definitions( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -2323,7 +2331,7 @@ async def _async_find_governance_action_processes( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of governance action process metadata elements that contain the search string. Async Version. @@ -2351,6 +2359,9 @@ async def _async_find_governance_action_processes( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -2384,9 +2395,13 @@ def find_governance_action_processes( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: - """ Retrieve the list of governance action process metadata elements that contain the search string.""" + """ Retrieve the list of governance action process metadata elements that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_governance_action_processes( search_string=search_string, @@ -2494,7 +2509,7 @@ async def _async_get_governance_definitions_by_name(self, name: Optional[str] = start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """ Returns the list of governance definitions with a particular name. Async Version. Parameters @@ -2511,6 +2526,9 @@ async def _async_get_governance_definitions_by_name(self, name: Optional[str] = REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2574,7 +2592,7 @@ def get_governance_definitions_by_name(self, name: Optional[str] = None, classif start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: """ Returns the list of governance definitions with a particular name. Parameters @@ -2598,6 +2616,9 @@ def get_governance_definitions_by_name(self, name: Optional[str] = None, classif REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2641,7 +2662,7 @@ async def _async_get_governance_definition_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Returns the governance definitions with a particular GUID. Async Version. Parameters @@ -2658,6 +2679,9 @@ async def _async_get_governance_definition_by_guid(self, guid: str, REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2722,7 +2746,7 @@ def get_governance_definition_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Returns the a governance definitions with a particular GUID. Parameters @@ -2742,6 +2766,9 @@ def get_governance_definition_by_guid(self, guid: str, REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2786,7 +2813,7 @@ async def _async_get_gov_def_in_context(self, guid: str, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Returns the governance definitions in context. Async Version. Parameters @@ -2803,6 +2830,9 @@ async def _async_get_gov_def_in_context(self, guid: str, REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -2826,7 +2856,7 @@ def get_gov_def_in_context(self, guid: str, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[GetFilters]) -> list | str: """ Returns the governance definitions in context. Parameters @@ -2845,6 +2875,9 @@ def get_gov_def_in_context(self, guid: str, FORM - output markdown with a preamble for a form REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). """ response = run_sync( self._async_get_gov_def_in_context(guid=guid, element_type=element_type, body=body, @@ -2859,7 +2892,7 @@ def get_gov_def_in_context(self, guid: str, async def _async_get_governance_action_process_graph(self, guid: str, element_type: Optional[str] = None, body: Optional[dict | FilterRequestBody] = None, output_format: str = "JSON", - report_spec: dict = None, **kwargs) -> dict | str: + report_spec: dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: """ Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation. Async version. @@ -2874,6 +2907,9 @@ async def _async_get_governance_action_process_graph(self, guid: str, element_ty output_format: str The output format to use. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- @@ -2924,7 +2960,7 @@ async def _async_get_governance_action_process_graph(self, guid: str, element_ty @dynamic_catch def get_governance_action_process_graph(self, guid: str, element_type: Optional[str] = None, body: dict = None, output_format: str = "JSON", - report_spec: dict = None, **kwargs) -> dict | str: + report_spec: dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: """ Retrieve the governance action process metadata element with the supplied unique identifier along with the flow definition describing its implementation. @@ -2939,6 +2975,9 @@ def get_governance_action_process_graph(self, guid: str, element_type: Optional[ output_format: str, default = "JSON" The output format to use. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- @@ -2982,7 +3021,7 @@ async def _async_get_governance_action_process( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier. Async version. @@ -2999,6 +3038,9 @@ async def _async_get_governance_action_process( body : dict | GetRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str @@ -3023,7 +3065,7 @@ def get_governance_action_process( output_format: str = "JSON", report_spec: str | dict = None, body: dict | GetRequestBody | None = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | list | str: """Retrieve the governance action process metadata element with the supplied unique identifier. @@ -3040,6 +3082,9 @@ def get_governance_action_process( body : dict | GetRequestBody, optional The request body. Defaults to None. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | list | str diff --git a/pyegeria/omvs/location_arena.py b/pyegeria/omvs/location_arena.py index 188dfc48..ab4843e8 100644 --- a/pyegeria/omvs/location_arena.py +++ b/pyegeria/omvs/location_arena.py @@ -9,6 +9,7 @@ import asyncio from typing import Optional +from pyegeria.core.request_filters import deprecated_names from pyegeria.core._server_client import ServerClient from pyegeria.view.base_report_formats import get_report_spec_match from pyegeria.view.base_report_formats import select_report_spec @@ -957,6 +958,7 @@ def delete_location(self, location_guid: str, body: Optional[dict | DeleteElemen """ run_sync(self._async_delete_location(location_guid, body, cascade)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_locations( self, @@ -964,7 +966,7 @@ async def _async_find_locations( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Location", + metadata_element_type: str | None = "Location", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -991,7 +993,7 @@ async def _async_find_locations( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -1018,6 +1020,9 @@ async def _async_find_locations( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1029,7 +1034,7 @@ async def _async_find_locations( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -1053,6 +1058,7 @@ async def _async_find_locations( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_locations( self, @@ -1060,7 +1066,7 @@ def find_locations( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "Location", + metadata_element_type: str | None = "Location", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1087,7 +1093,7 @@ def find_locations( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -1114,6 +1120,9 @@ def find_locations( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1124,7 +1133,7 @@ def find_locations( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1141,11 +1150,12 @@ def find_locations( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_locations_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Location", + metadata_element_type: str | None = "Location", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1163,7 +1173,7 @@ async def _async_get_locations_by_name( ---------- name: str, optional name to use to find matching locations. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -1184,6 +1194,9 @@ async def _async_get_locations_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1201,7 +1214,7 @@ async def _async_get_locations_by_name( url = f"{self.ref_location_command_base}/locations/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -1222,10 +1235,11 @@ async def _async_get_locations_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_locations_by_name( self, name: str = None, - metadata_element_type_name: str | None = "Location", + metadata_element_type: str | None = "Location", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1243,7 +1257,7 @@ def get_locations_by_name( ---------- name: str, optional name to use to find matching locations. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -1264,6 +1278,9 @@ def get_locations_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -1282,7 +1299,7 @@ def get_locations_by_name( return run_sync( self._async_get_locations_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1327,6 +1344,9 @@ async def _async_get_location_by_guid( body: dict | GetRequestBody, optional full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1381,6 +1401,9 @@ def get_location_by_guid( body: dict | GetRequestBody, optional full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/omvs/metadata_expert.py b/pyegeria/omvs/metadata_expert.py index 1236fe15..31f8f1ea 100644 --- a/pyegeria/omvs/metadata_expert.py +++ b/pyegeria/omvs/metadata_expert.py @@ -9,6 +9,10 @@ from loguru import logger from typing import Any, Optional, Union, Dict, List from httpx import Response +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import FindFilters +from pyegeria.core.request_filters import filter_body_kwargs from pyegeria.models import (NewOpenMetadataElementRequestBody, TemplateRequestBody, UpdatePropertiesRequestBody, MetadataSourceRequestBody, ReIdentifyRequestBody, ReTypeRequestBody, ReHomeRequestBody, @@ -1446,6 +1450,9 @@ async def _async_get_metadata_element_by_guid( body: dict | GetRequestBody, default = None - details of the request supersede parameters. Body, if present overrides parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1487,7 +1494,7 @@ async def _async_get_metadata_element_by_guid( response = await self._async_get_guid_request(url=url, _type="Referenceable", _gen_output=self._generate_referenceable_output, output_format=output_format, - report_spec=None, body=body) + report_spec=None, body=body, **kwargs) return response @dynamic_catch @@ -1512,6 +1519,9 @@ def get_metadata_element_by_guid( body: dict | GetRequestBody, default = None - details of the request supersede parameters. Body, if present overrides parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1554,6 +1564,9 @@ async def _async_get_anchored_element_graph(self, guid: Optional[str] = None, as body: dict | GetRequestBody, default = None - details of the request supersede parameters. Body, if present, overrides parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1597,7 +1610,7 @@ async def _async_get_anchored_element_graph(self, guid: Optional[str] = None, as ) response = await self._async_get_guid_request( url=url, _type="Referenceable", _gen_output=self._generate_referenceable_output, - output_format="JSON", report_spec=None, body=body + output_format="JSON", report_spec=None, body=body, **kwargs ) if mermaid_only: return response.get("mermaidGraph", "No Mermaid Graph Found") @@ -1624,6 +1637,9 @@ def get_anchored_element_graph( body: dict | GetRequestBody, default = None - details of the request supersede parameters. Body, if present, overrides parameters. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -2172,12 +2188,13 @@ def get_classification_history( ) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch async def _async_find_metadata_elements_with_string(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, @@ -2211,7 +2228,7 @@ async def _async_find_metadata_elements_with_string(self, search_string: str = " those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2238,11 +2255,20 @@ async def _async_find_metadata_elements_with_string(self, search_string: str = " body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. """ + if search_string in (None, "", "*") and body is None and not ( + metadata_element_type or metadata_element_subtypes or include_only_classified_elements): + # Egeria refuses this with "searchString is null" (OMAG-COMMON-400-022); say why in plain words. + raise ValueError("find_metadata_elements_with_string: give a search string or a type " + "(metadata_element_type, metadata_element_subtypes or " + "include_only_classified_elements); '*' alone is not a search") url = ( f"{base_path(self, self.view_server)}/metadata-elements/by-search-string" ) @@ -2254,28 +2280,27 @@ async def _async_find_metadata_elements_with_string(self, search_string: str = " ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, metadata_element_type=metadata_element_type, - metadata_element_subtypes=metadata_element_sub_type, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, graph_query_depth=graph_query_depth, - governance_zone_filter=zone_filter, as_of_time=as_of_time, - effective_time=effective_time, + as_of_time=as_of_time, relationship_page_size=relationship_page_size, limit_results_by_status=limit_results_by_status, sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - body=body, **kwargs) + body=body, **{"metadata_element_subtypes": metadata_element_subtypes, "governance_zone_filter": zone_filter, "effective_time": effective_time, **kwargs}) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch def find_metadata_elements_with_string(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, @@ -2307,7 +2332,7 @@ def find_metadata_elements_with_string(self, search_string: str = "*", starts_wi those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2334,6 +2359,9 @@ def find_metadata_elements_with_string(self, search_string: str = "*", starts_wi body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2342,7 +2370,7 @@ def find_metadata_elements_with_string(self, search_string: str = "*", starts_wi self._async_find_metadata_elements_with_string( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, zone_filter=zone_filter, - metadata_element_type=metadata_element_type, metadata_element_sub_type=metadata_element_sub_type, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, relationship_page_size=relationship_page_size, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, @@ -2355,13 +2383,14 @@ def find_metadata_elements_with_string(self, search_string: str = "*", starts_wi ) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch async def _async_find_elements_for_anchor(self, guid: Optional[str] = None, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, @@ -2394,7 +2423,7 @@ async def _async_find_elements_for_anchor(self, guid: Optional[str] = None, sear those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2421,6 +2450,9 @@ async def _async_find_elements_for_anchor(self, guid: Optional[str] = None, sear body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2438,27 +2470,26 @@ async def _async_find_elements_for_anchor(self, guid: Optional[str] = None, sear _gen_output=self._generate_referenceable_output, search_string=search_string, anchor_domain=anchor_domain, metadata_element_type=metadata_element_type, - metadata_element_subtypes=metadata_element_sub_type, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, graph_query_depth=graph_query_depth, - governance_zone_filter=zone_filter, as_of_time=as_of_time, - effective_time=effective_time, + as_of_time=as_of_time, relationship_page_size=relationship_page_size, limit_results_by_status=limit_results_by_status, sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - body=body, **kwargs) + body=body, **{"metadata_element_subtypes": metadata_element_subtypes, "governance_zone_filter": zone_filter, "effective_time": effective_time, **kwargs}) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch def find_elements_for_anchor(self, guid: Optional[str] = None, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, graph_query_depth: int = 5, @@ -2489,7 +2520,7 @@ def find_elements_for_anchor(self, guid: Optional[str] = None, search_string: st those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2516,6 +2547,9 @@ def find_elements_for_anchor(self, guid: Optional[str] = None, search_string: st body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2524,7 +2558,7 @@ def find_elements_for_anchor(self, guid: Optional[str] = None, search_string: st self._async_find_elements_for_anchor( guid=guid, search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, zone_filter=zone_filter, - metadata_element_type=metadata_element_type, metadata_element_sub_type=metadata_element_sub_type, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, relationship_page_size=relationship_page_size, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, @@ -2537,13 +2571,14 @@ def find_elements_for_anchor(self, guid: Optional[str] = None, search_string: st ) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch async def _async_find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, @@ -2575,7 +2610,7 @@ async def _async_find_elements_in_anchor_domain(self, search_string: str = "*", those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2602,6 +2637,9 @@ async def _async_find_elements_in_anchor_domain(self, search_string: str = "*", body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2620,27 +2658,26 @@ async def _async_find_elements_in_anchor_domain(self, search_string: str = "*", ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, metadata_element_type=metadata_element_type, - metadata_element_subtypes=metadata_element_sub_type, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, graph_query_depth=graph_query_depth, - governance_zone_filter=zone_filter, as_of_time=as_of_time, - effective_time=effective_time, + as_of_time=as_of_time, relationship_page_size=relationship_page_size, limit_results_by_status=limit_results_by_status, sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - body=body, **kwargs) + body=body, **{"metadata_element_subtypes": metadata_element_subtypes, "governance_zone_filter": zone_filter, "effective_time": effective_time, **kwargs}) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch def find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, graph_query_depth: int = 5, @@ -2670,7 +2707,7 @@ def find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2697,6 +2734,9 @@ def find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2705,7 +2745,7 @@ def find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: self._async_find_elements_in_anchor_domain( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, zone_filter=zone_filter, - metadata_element_type=metadata_element_type, metadata_element_sub_type=metadata_element_sub_type, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, relationship_page_size=relationship_page_size, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, @@ -2718,13 +2758,14 @@ def find_elements_in_anchor_domain(self, search_string: str = "*", starts_with: ) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch async def _async_find_elements_in_anchor_scope(self, guid: Optional[str] = None, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, @@ -2758,7 +2799,7 @@ async def _async_find_elements_in_anchor_scope(self, guid: Optional[str] = None, those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2785,6 +2826,9 @@ async def _async_find_elements_in_anchor_scope(self, guid: Optional[str] = None, body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2805,27 +2849,26 @@ async def _async_find_elements_in_anchor_scope(self, guid: Optional[str] = None, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, metadata_element_type=metadata_element_type, - metadata_element_subtypes=metadata_element_sub_type, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, graph_query_depth=graph_query_depth, - governance_zone_filter=zone_filter, as_of_time=as_of_time, - effective_time=effective_time, + as_of_time=as_of_time, relationship_page_size=relationship_page_size, limit_results_by_status=limit_results_by_status, sequencing_order=sequencing_order, sequencing_property=sequencing_property, output_format=output_format, report_spec=report_spec, start_from=start_from, page_size=page_size, - body=body, **kwargs) + body=body, **{"metadata_element_subtypes": metadata_element_subtypes, "governance_zone_filter": zone_filter, "effective_time": effective_time, **kwargs}) return response + @deprecated_names(metadata_element_sub_type="metadata_element_subtypes") @dynamic_catch def find_elements_in_anchor_scope(self, guid: Optional[str] = None, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, anchor_domain: Optional[str] = None, zone_filter=None, metadata_element_type: Optional[str] = None, - metadata_element_sub_type=None, skip_relationships=None, + metadata_element_subtypes=None, skip_relationships=None, include_only_relationships=None, relationship_page_size: int = 10, skip_classified_elements=None, include_only_classified_elements: Optional[list[str]] = None, graph_query_depth: int = 5, @@ -2856,7 +2899,7 @@ def find_elements_in_anchor_scope(self, guid: Optional[str] = None, search_strin those associated with the given zones. Defaults to None. metadata_element_type (str | None): Filters the search to elements of a specific metadata type. Defaults to None. - metadata_element_sub_type (str | None): Filters the search to elements of a specific subtype. + metadata_element_subtypes (str | None): Filters the search to elements of a specific subtype. Defaults to None. skip_relationships (bool | None): If set to True, relationships associated with metadata elements are excluded from the search result. Defaults to None. @@ -2883,6 +2926,9 @@ def find_elements_in_anchor_scope(self, guid: Optional[str] = None, search_strin body (SearchStringRequestBody | dict | None): A payload containing additional search parameters or overrides. Defaults to None. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns: list | str: Returns the search results as a list of metadata elements, or as a string in cases where the output is serialized in text format. @@ -2891,7 +2937,7 @@ def find_elements_in_anchor_scope(self, guid: Optional[str] = None, search_strin self._async_find_elements_in_anchor_scope( guid=guid, search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, anchor_domain=anchor_domain, zone_filter=zone_filter, - metadata_element_type=metadata_element_type, metadata_element_sub_type=metadata_element_sub_type, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, skip_relationships=skip_relationships, include_only_relationships=include_only_relationships, relationship_page_size=relationship_page_size, skip_classified_elements=skip_classified_elements, include_only_classified_elements=include_only_classified_elements, @@ -3576,7 +3622,7 @@ async def _async_find_metadata_elements( self, body: Optional[dict] = None, timeout: int = default_timeout, - **kwargs, + **kwargs: Unpack[FindFilters], ) -> list | str: """Return a list of metadata elements that match the supplied criteria. The results can be returned over many pages. Async version. @@ -3614,10 +3660,13 @@ async def _async_find_metadata_elements( - http request timeout for this request **kwargs: - Backward compatibility parameters for individual criteria if `body` is not provided. - Supported: `metadata_element_type_name`, `metadata_element_subtype_names`, `skip_subtypes`, + Supported: `metadata_element_type`, `metadata_element_subtypes`, `skip_subtypes`, `search_properties`, `match_classifications`, `effective_time`, `limit_results_by_status`, `as_of_time`, `sequencing_order`, `sequencing_property`, `start_from`, `page_size`. + Accepts the standard find filters as keyword arguments (see ``FindFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3690,21 +3739,11 @@ async def _async_find_metadata_elements( """ if body is None: - body = { - "class": "FindRequestBody", - "metadataElementTypeName": kwargs.get("metadata_element_type_name"), - "metadataElementSubtypeNames": kwargs.get("metadata_element_subtype_names"), - "skipSubtypes": kwargs.get("skip_subtypes"), - "searchProperties": kwargs.get("search_properties"), - "matchClassifications": kwargs.get("match_classifications"), - "effectiveTime": kwargs.get("effective_time"), - "limitResultsByStatus": kwargs.get("limit_results_by_status"), - "asOfTime": kwargs.get("as_of_time"), - "sequencingOrder": kwargs.get("sequencing_order"), - "sequencingProperty": kwargs.get("sequencing_property"), - "startFrom": kwargs.get("start_from"), - "pageSize": kwargs.get("page_size"), - } + # Every FindRequestBody field may be given as a keyword (snake_case, or the + # metadata_element_type / metadata_element_subtypes spellings); unknown names warn. + body = {"class": "FindRequestBody", **filter_body_kwargs("find", kwargs)} + elif kwargs: + filter_body_kwargs("find", kwargs) # body wins; still warn about misspelt names url = f"{base_path(self, self.view_server)}/metadata-elements/by-search-conditions" @@ -3727,7 +3766,7 @@ def find_metadata_elements( self, body: Optional[dict] = None, timeout: int = default_timeout, - **kwargs, + **kwargs: Unpack[FindFilters], ) -> list | str: """ Retrieve the relationships linking the supplied elements. @@ -3747,6 +3786,9 @@ def find_metadata_elements( **kwargs: - Backward compatibility parameters for individual criteria if `body` is not provided. + Accepts the standard find filters as keyword arguments (see ``FindFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str diff --git a/pyegeria/omvs/my_profile.py b/pyegeria/omvs/my_profile.py index 721c0be7..3163c725 100644 --- a/pyegeria/omvs/my_profile.py +++ b/pyegeria/omvs/my_profile.py @@ -11,6 +11,8 @@ from loguru import logger from typing import Any, Optional +from typing import Unpack +from pyegeria.core.request_filters import ListFilters from pyegeria import NO_ELEMENTS_FOUND, PyegeriaInvalidParameterException from pyegeria.omvs.asset_maker import AssetMaker from pyegeria.core._validators import validate_name @@ -668,9 +670,13 @@ async def _async_get_my_actors( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of actors linked to the user's profile. Async version.""" + """Return the list of actors linked to the user's profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/actors" # filter_results_by_type=False: "ActorProfile" is only a rendering hint. The # endpoint's .http example sends no type filter, and sending one made every @@ -700,9 +706,13 @@ def get_my_actors( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of actors linked to the user's profile.""" + """Return the list of actors linked to the user's profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_actors( graph_query_depth=graph_query_depth, @@ -724,9 +734,13 @@ async def _async_get_my_user_identities( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of user identities linked to the user's profile. Async version.""" + """Return the list of user identities linked to the user's profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/actors/user-identities" # filter_results_by_type=False: "UserIdentity" is only a rendering hint. The # endpoint's .http example sends no type filter, and with one the server @@ -755,9 +769,13 @@ def get_my_user_identities( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of user identities linked to the user's profile.""" + """Return the list of user identities linked to the user's profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_user_identities( graph_query_depth=graph_query_depth, @@ -779,9 +797,13 @@ async def _async_get_my_roles( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of assigned roles linked to the user's profile. Async version.""" + """Return the list of assigned roles linked to the user's profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/actors/assigned-roles" # filter_results_by_type=False: "GovernanceRole" is only a rendering hint. The # endpoint's .http example sends no type filter, and with one the server @@ -810,9 +832,13 @@ def get_my_roles( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of assigned roles linked to the user's profile.""" + """Return the list of assigned roles linked to the user's profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_roles( graph_query_depth=graph_query_depth, @@ -834,9 +860,13 @@ async def _async_get_my_resources( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of assigned resources linked to the user's profile. Async version.""" + """Return the list of assigned resources linked to the user's profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/assigned-resources?includeUserIds=true&includeRoles=true" # filter_results_by_type=False: "Resource" is only a rendering hint, not an # Egeria type. Sent as metadataElementTypeName it made every call fail with @@ -866,9 +896,13 @@ def get_my_resources( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | ResultsRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: - """Return the list of assigned resources linked to the user's profile.""" + """Return the list of assigned resources linked to the user's profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_resources( graph_query_depth=graph_query_depth, @@ -897,7 +931,11 @@ async def _async_get_my_assigned_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get assigned actions for the user profile. Async version.""" + """Get assigned actions for the user profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/assigned-actions?includeUserIds=true&includeRoles=true" # metadata_element_type/metadata_element_subtypes are intentionally NOT # forwarded into the request body here. The real ActivityStatusRequestBody/ @@ -951,7 +989,11 @@ def get_my_assigned_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get assigned actions for the user profile.""" + """Get assigned actions for the user profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_assigned_actions( metadata_element_type=metadata_element_type, @@ -983,7 +1025,11 @@ async def _async_get_my_sponsored_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get actions sponsored by the user profile. Async version.""" + """Get actions sponsored by the user profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/sponsored-actions?includeUserIds=true&includeRoles=true" return await self._async_activity_status_request( url, @@ -1015,7 +1061,11 @@ def get_my_sponsored_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get actions sponsored by the user profile.""" + """Get actions sponsored by the user profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_sponsored_actions( activity_status_list=activity_status_list, @@ -1045,7 +1095,11 @@ async def _async_get_my_requested_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get actions requested by the user profile. Async version.""" + """Get actions requested by the user profile. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.my_profile_command_root}/requested-actions?includeUserIds=true&includeRoles=true" return await self._async_activity_status_request( url, @@ -1077,7 +1131,11 @@ def get_my_requested_actions( body: Optional[dict | ActivityStatusRequestBody] = None, **kwargs, ) -> list | str: - """Get actions requested by the user profile.""" + """Get actions requested by the user profile. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_my_requested_actions( activity_status_list=activity_status_list, @@ -1574,7 +1632,11 @@ async def _async_get_my_to_dos( page_size: int = 100, **kwargs, ) -> list | str: - """find To-Do items. Async version.""" + """find To-Do items. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return await self._async_get_my_assigned_actions( metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, @@ -1598,7 +1660,11 @@ def get_my_to_dos( page_size: int = 100, **kwargs, ) -> list | str: - """find To-Do items.""" + """find To-Do items. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return self.get_my_assigned_actions( metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, diff --git a/pyegeria/omvs/product_catalog.py b/pyegeria/omvs/product_catalog.py index d814da35..ed7bc8d2 100644 --- a/pyegeria/omvs/product_catalog.py +++ b/pyegeria/omvs/product_catalog.py @@ -11,6 +11,9 @@ import asyncio from typing import Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import SearchFilters from pyegeria.core.utils import dynamic_catch from pyegeria.models import SearchStringRequestBody from pyegeria.omvs.collection_manager import CollectionManager @@ -33,11 +36,12 @@ def __init__( f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/product-catalog" ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_digital_product_catalogs( self, search_string: str = "*", - metadata_element_type_name: str = "DigitalProductCatalog", + metadata_element_type: str = "DigitalProductCatalog", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, @@ -55,7 +59,7 @@ async def _async_find_digital_product_catalogs( ---------- search_string : str, default "*" String to match; "*" matches every element of the requested type. - metadata_element_type_name : str, default "DigitalProductCatalog" + metadata_element_type : str, default "DigitalProductCatalog" Type to search for; use "DigitalProduct" to find products. starts_with, ends_with, ignore_case : bool How the search string is matched. @@ -68,6 +72,9 @@ async def _async_find_digital_product_catalogs( body : dict | SearchStringRequestBody, optional A full request body, used instead of the arguments above. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -84,16 +91,17 @@ async def _async_find_digital_product_catalogs( """ url = f"{self.product_catalog_command_root}/collections/by-search-string" return await self._async_find_request( - url, _type=metadata_element_type_name, _gen_output=self._generate_collection_output, + url, _type=metadata_element_type, _gen_output=self._generate_collection_output, search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body, **kwargs) + start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, body=body, **{"metadata_element_type": metadata_element_type, **kwargs}) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_digital_product_catalogs( self, search_string: str = "*", - metadata_element_type_name: str = "DigitalProductCatalog", + metadata_element_type: str = "DigitalProductCatalog", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, @@ -105,7 +113,11 @@ def find_digital_product_catalogs( **kwargs, ) -> list | str: """Find digital product catalogs, or the products in them ("DigitalProduct"), through the - product-catalog view service. See _async_find_digital_product_catalogs for the parameters.""" + product-catalog view service. See _async_find_digital_product_catalogs for the parameters. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync(self._async_find_digital_product_catalogs( - search_string, metadata_element_type_name, starts_with, ends_with, ignore_case, + search_string, metadata_element_type, starts_with, ends_with, ignore_case, start_from, page_size, output_format, report_spec, body, **kwargs)) diff --git a/pyegeria/omvs/product_manager.py b/pyegeria/omvs/product_manager.py index 19674de0..7b073428 100644 --- a/pyegeria/omvs/product_manager.py +++ b/pyegeria/omvs/product_manager.py @@ -11,6 +11,9 @@ import asyncio from typing import Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.omvs.collection_manager import CollectionManager from pyegeria.core._server_client import ServerClient from pyegeria.models import ( @@ -378,7 +381,7 @@ async def _async_get_digital_product_by_guid( body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific digital product. Async version. @@ -393,6 +396,9 @@ async def _async_get_digital_product_by_guid( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -439,7 +445,7 @@ def get_digital_product_by_guid( body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific digital product. Sync version. @@ -454,6 +460,9 @@ def get_digital_product_by_guid( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -481,7 +490,7 @@ async def _async_get_digital_products_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of digital products with a particular name. Async version. @@ -502,6 +511,9 @@ async def _async_get_digital_products_by_name( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -517,11 +529,10 @@ async def _async_get_digital_products_by_name( url = f"{self.product_manager_command_root}/collections/by-name" response = await self._async_get_name_request(url, _type="DigitalProduct", _gen_output=self._generate_collection_output, - filter_string=name, classification_names=classification_names, start_from=start_from, page_size=page_size, graph_query_depth=graph_query_depth, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **{"filter_string": name, **kwargs}) return response def get_digital_products_by_name( @@ -533,7 +544,7 @@ def get_digital_products_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of digital products with a particular name. Sync version. @@ -554,6 +565,9 @@ def get_digital_products_by_name( report_spec : str | dict, optional The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -571,6 +585,7 @@ def get_digital_products_by_name( ) ) + @deprecated_names(metadata_element_subtype="metadata_element_subtypes") @dynamic_catch async def _async_find_digital_products( self, @@ -583,7 +598,7 @@ async def _async_find_digital_products( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - metadata_element_subtype: Optional[list[str]] = None, + metadata_element_subtypes: Optional[list[str]] = None, **kwargs ) -> list | str: """Returns the list of digital products matching the search string. Async version. @@ -602,7 +617,7 @@ async def _async_find_digital_products( Anchor domain to filter on. metadata_element_type : str, optional Metadata element type name to filter on. - metadata_element_subtype : list[str], optional + metadata_element_subtypes : list[str], optional List of metadata element subtypes to filter on. skip_relationships : list[str], optional List of relationship types to skip. @@ -641,6 +656,9 @@ async def _async_find_digital_products( body : dict, optional If provided, the search parameters in the body supersede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -651,8 +669,8 @@ async def _async_find_digital_products( PyegeriaException If there are issues in communications, message format, or Egeria errors. """ - if metadata_element_subtype is None: - metadata_element_subtype = ["DigitalProduct"] + if metadata_element_subtypes is None: + metadata_element_subtypes = ["DigitalProduct"] url = f"{self.product_manager_command_root}/collections/by-search-string" @@ -668,7 +686,7 @@ async def _async_find_digital_products( 'page_size': page_size, 'output_format': output_format, 'report_spec': report_spec, - 'metadata_element_subtypes': metadata_element_subtype + 'metadata_element_subtypes': metadata_element_subtypes } params.update(kwargs) @@ -679,6 +697,7 @@ async def _async_find_digital_products( _gen_output=self._generate_collection_output, **params) return response + @deprecated_names(metadata_element_subtype="metadata_element_subtypes") def find_digital_products( self, search_string: str = "*", @@ -690,7 +709,7 @@ def find_digital_products( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - metadata_element_subtype: Optional[list[str]] = None, + metadata_element_subtypes: Optional[list[str]] = None, **kwargs ) -> list | str: """Returns the list of digital products matching the search string. Sync version. @@ -709,7 +728,7 @@ def find_digital_products( Anchor domain to filter on. metadata_element_type : str, optional Metadata element type name to filter on. - metadata_element_subtype : list[str], optional + metadata_element_subtypes : list[str], optional List of metadata element subtypes to filter on. skip_relationships : list[str], optional List of relationship types to skip. @@ -748,6 +767,9 @@ def find_digital_products( body : dict, optional If provided, the search parameters in the body supersede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -770,7 +792,7 @@ def find_digital_products( page_size=page_size, output_format=output_format, report_spec=report_spec, - metadata_element_subtype=metadata_element_subtype, + metadata_element_subtypes=metadata_element_subtypes, **kwargs ) ) @@ -1378,7 +1400,7 @@ async def _async_get_digital_product_catalog_by_guid( body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific digital product catalog by GUID. Async version. @@ -1393,6 +1415,9 @@ async def _async_get_digital_product_catalog_by_guid( report_spec : str | dict, optional Report specification for formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1432,7 +1457,7 @@ def get_digital_product_catalog_by_guid( body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific digital product catalog by GUID. Sync version. @@ -1447,6 +1472,9 @@ def get_digital_product_catalog_by_guid( report_spec : str | dict, optional Report specification for formatting. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1474,7 +1502,7 @@ async def _async_get_digital_product_catalogs_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of digital product catalogs with a particular name. Async version. @@ -1495,6 +1523,9 @@ async def _async_get_digital_product_catalogs_by_name( report_spec : str | dict, optional Report specification for formatting. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1509,11 +1540,10 @@ async def _async_get_digital_product_catalogs_by_name( name = kwargs.pop("filter_string") url = f"{self.product_manager_command_root}/collections/by-name" response = await self._async_get_name_request(url, _type="DigitalProductCatalog", _gen_output=None, - filter_string=name, classification_names=classification_names, start_from=start_from, page_size=page_size, graph_query_depth=graph_query_depth, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **{"filter_string": name, **kwargs}) return response def get_digital_product_catalogs_by_name( @@ -1525,7 +1555,7 @@ def get_digital_product_catalogs_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Returns the list of digital product catalogs with a particular name. Sync version. @@ -1546,6 +1576,9 @@ def get_digital_product_catalogs_by_name( report_spec : str | dict, optional Report specification for formatting. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1575,7 +1608,7 @@ async def _async_find_digital_product_catalogs( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """Returns the list of digital product catalogs matching the search string. Async version. @@ -1593,7 +1626,7 @@ async def _async_find_digital_product_catalogs( Domain to anchor the search. metadata_element_type : str, optional Type of metadata element to search for. - metadata_element_subtype : str, optional + metadata_element_subtypes : list[str], optional Subtype of metadata element. skip_relationships : list[str], optional Relationships to skip in the graph. @@ -1632,6 +1665,9 @@ async def _async_find_digital_product_catalogs( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -1676,7 +1712,7 @@ def find_digital_product_catalogs( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """Returns the list of digital product catalogs matching the search string. Sync version. @@ -1694,7 +1730,7 @@ def find_digital_product_catalogs( Domain to anchor the search. metadata_element_type : str, optional Type of metadata element to search for. - metadata_element_subtype : str, optional + metadata_element_subtypes : list[str], optional Subtype of metadata element. skip_relationships : list[str], optional Relationships to skip in the graph. @@ -1733,6 +1769,9 @@ def find_digital_product_catalogs( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -2055,7 +2094,7 @@ async def _async_get_governance_action_processes_by_name( page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the governance action processes with a matching qualified or display name, from the Product Catalog view service (`/product-catalog/governance-definitions/by-name`). A digital product's @@ -2079,6 +2118,9 @@ async def _async_get_governance_action_processes_by_name( report_spec : str | dict, optional The desired output columns/fields. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -2088,8 +2130,8 @@ async def _async_get_governance_action_processes_by_name( f"product-catalog/governance-definitions/by-name") return await self._async_get_name_request( url, _type="GovernanceActionProcess", _gen_output=self._generate_referenceable_output, - filter_string=name, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body, **kwargs) + start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, body=body, **{"filter_string": name, **kwargs}) @dynamic_catch def get_governance_action_processes_by_name( @@ -2100,10 +2142,14 @@ def get_governance_action_processes_by_name( page_size: int = 0, output_format: str = "JSON", report_spec: Optional[str | dict] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Retrieve the governance action processes with a matching qualified or display name (for example a - digital product's subscription types).""" + digital product's subscription types). + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_governance_action_processes_by_name( name, body=body, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, **kwargs)) diff --git a/pyegeria/omvs/project_manager.py b/pyegeria/omvs/project_manager.py index 51d53a9f..63c79779 100644 --- a/pyegeria/omvs/project_manager.py +++ b/pyegeria/omvs/project_manager.py @@ -10,6 +10,9 @@ import asyncio from typing import Any, Optional +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters from pyegeria.core._globals import NO_ELEMENTS_FOUND from pyegeria.core._server_client import ServerClient from pyegeria.models import (SearchStringRequestBody, FilterRequestBody, GetRequestBody, NewElementRequestBody, @@ -98,7 +101,7 @@ async def _async_get_linked_projects( body: Optional[dict | GetRequestBody] = None, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> list | str: """Returns the list of projects that are linked off of the supplied element. Any relationship will do. The request body is optional, but if supplied acts as a filter on project status. Async version. @@ -119,6 +122,9 @@ async def _async_get_linked_projects( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -156,7 +162,7 @@ def get_linked_projects( body: Optional[dict | GetRequestBody] = None, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> str | dict: + **kwargs: Unpack[GetFilters]) -> str | dict: """Returns the list of projects that are linked off of the supplied element. Any relationship will do. The request body is optional, but if supplied acts as a filter on project status. @@ -179,6 +185,9 @@ def get_linked_projects( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -216,7 +225,7 @@ async def _async_get_classified_projects( output_format: str = 'JSON', report_spec: str | dict = None, body: Optional[dict | GetRequestBody] = None, - **kwargs) -> str | dict: + **kwargs: Unpack[ListFilters]) -> str | dict: """Returns the list of projects with a particular classification. The name of the classification is supplied in the request body. Examples of these classifications include StudyProject, PersonalProject, @@ -231,6 +240,9 @@ async def _async_get_classified_projects( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -254,9 +266,9 @@ async def _async_get_classified_projects( f"projects/by-classifications" ) response = await self._async_get_name_request(url, "Project", self._extract_project_properties, - filter_string=project_classification, start_from=start_from, + start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, body=body, **kwargs) + report_spec=report_spec, body=body, **{"filter_string": project_classification, **kwargs}) return response @dynamic_catch @@ -268,7 +280,7 @@ def get_classified_projects( output_format: str = 'JSON', report_spec: str | dict = None, body: Optional[dict | GetRequestBody] = None, - **kwargs + **kwargs: Unpack[ListFilters] ) -> str | dict: """Returns the list of projects with a particular classification. The name of the classification is supplied in the request body. Examples of these classifications include StudyProject, PersonalProject, @@ -286,6 +298,9 @@ def get_classified_projects( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -834,6 +849,7 @@ def get_project_hierarchy( ) return resp + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_projects( self, @@ -841,7 +857,7 @@ async def _async_find_projects( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -868,7 +884,7 @@ async def _async_find_projects( Whether to match projects ending with the search string. ignore_case : bool, default=True Whether to ignore case when searching. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The metadata element type to search for. metadata_element_subtypes : list[str], optional The subtypes of metadata element to search for. @@ -897,6 +913,9 @@ async def _async_find_projects( **kwargs : dict, optional Additional parameters supported by the find request. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -912,7 +931,6 @@ async def _async_find_projects( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -925,11 +943,12 @@ async def _async_find_projects( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": metadata_element_type, **kwargs}, ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_projects( self, @@ -937,7 +956,7 @@ def find_projects( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -952,14 +971,18 @@ def find_projects( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """ Retrieve the list of project metadata elements that contain the search string. """ + """ Retrieve the list of project metadata elements that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_projects( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1060,7 +1083,11 @@ async def _async_get_project_by_guid( body: Optional[dict | GetRequestBody] = None, **kwargs, ) -> dict | str: - """Return the properties of a specific project. Async version.""" + """Return the properties of a specific project. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/project-manager/projects/{project_guid}" @@ -1091,7 +1118,11 @@ def get_project_by_guid( body: Optional[dict | GetRequestBody] = None, **kwargs, ) -> dict | str: - """Return the properties of a specific project.""" + """Return the properties of a specific project. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ resp = run_sync( self._async_get_project_by_guid( project_guid=project_guid, @@ -1115,7 +1146,7 @@ async def _async_get_project_graph( body: Optional[dict | GetRequestBody] = None, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | str: """Return the mermaid graph of a specific project. Async version. @@ -1126,6 +1157,9 @@ async def _async_get_project_graph( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- str @@ -1161,7 +1195,7 @@ def get_project_graph( body: Optional[dict | GetRequestBody] = None, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[GetFilters] ) -> dict | str: """Return the mermaid graph of a specific project. Async version. @@ -1172,6 +1206,9 @@ def get_project_graph( body: dict | GetRequestBody, optional, default = None full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- str diff --git a/pyegeria/omvs/reference_data.py b/pyegeria/omvs/reference_data.py index 9c4e5656..0b46ff1d 100644 --- a/pyegeria/omvs/reference_data.py +++ b/pyegeria/omvs/reference_data.py @@ -10,6 +10,8 @@ import asyncio from typing import Any, Optional +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.view.base_report_formats import select_report_spec from pyegeria.core._server_client import ServerClient from pyegeria.view.base_report_formats import get_report_spec_match @@ -156,7 +158,7 @@ async def _async_find_valid_value_definitions( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Returns the list of valid value definitions matching the search string. The search string is located in the request body and is interpreted as a plain string. @@ -185,6 +187,9 @@ async def _async_find_valid_value_definitions( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -237,7 +242,7 @@ def find_valid_value_definitions( graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Returns the list of valid value definitions matching the search string. @@ -262,6 +267,9 @@ def find_valid_value_definitions( page_size: int, [default=None] The number of items to return in a single page. If not specified, the default will be taken from the class instance. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -301,7 +309,7 @@ async def _async_get_valid_value_definitions_by_name( start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: if name is None and "filter_string" in kwargs: name = kwargs.pop("filter_string") @@ -332,7 +340,7 @@ def get_valid_value_definitions_by_name( start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> list | str: + **kwargs: Unpack[ListFilters]) -> list | str: resp = run_sync( self._async_get_valid_value_definitions_by_name( @@ -354,7 +362,7 @@ async def _async_get_valid_value_definition_by_guid(self, guid: str, element_typ body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> dict | str: + **kwargs: Unpack[GetFilters]) -> dict | str: """Return the properties of a specific project. Async version. Parameters @@ -370,6 +378,9 @@ async def _async_get_valid_value_definition_by_guid(self, guid: str, element_typ report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -418,7 +429,7 @@ def get_valid_value_definition_by_guid(self, guid: str, element_type: Optional[s body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, - **kwargs) -> dict | str: + **kwargs: Unpack[GetFilters]) -> dict | str: """Return the properties of a specific project. Parameters @@ -434,6 +445,9 @@ def get_valid_value_definition_by_guid(self, guid: str, element_type: Optional[s report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/omvs/runtime_manager.py b/pyegeria/omvs/runtime_manager.py index 46453d21..7941a727 100644 --- a/pyegeria/omvs/runtime_manager.py +++ b/pyegeria/omvs/runtime_manager.py @@ -10,6 +10,9 @@ from loguru import logger from requests import Response +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import GetFilters, ListFilters from pyegeria.core.utils import body_slimmer, dynamic_catch from pyegeria.core._server_client import ServerClient from pyegeria.core._globals import max_paging_size, default_timeout, NO_ELEMENTS_FOUND @@ -2027,7 +2030,7 @@ def get_platforms_by_name( page_size: int = max_paging_size, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of platforms with a particular name. The name is specified in the filter. @@ -2048,6 +2051,9 @@ def get_platforms_by_name( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Response @@ -2061,7 +2067,7 @@ def get_platforms_by_name( graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) ) return response @@ -2074,7 +2080,7 @@ async def _async_get_platforms_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of platforms with a particular name. The name is specified in the filter. Async version. @@ -2097,6 +2103,9 @@ async def _async_get_platforms_by_name( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Response @@ -2121,7 +2130,7 @@ async def _async_get_platforms_by_name( filter_string=filter_string, start_from=start_from, page_size=page_size, graph_query_depth=graph_query_depth, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **kwargs) @dynamic_catch async def _async_get_platforms_by_type( @@ -2131,7 +2140,7 @@ async def _async_get_platforms_by_type( page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of platforms with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all platforms are returned. Async version. @@ -2154,6 +2163,9 @@ async def _async_get_platforms_by_type( body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Response @@ -2177,7 +2189,7 @@ async def _async_get_platforms_by_type( return await self._async_get_name_request(url, _type="Platforms", _gen_output=self._generate_platform_output, filter_string=filter_string, start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **kwargs) def get_platforms_by_type( self, @@ -2186,7 +2198,7 @@ def get_platforms_by_type( page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | GetRequestBody] = None, + body: Optional[dict | GetRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of platforms with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all platforms are returned. @@ -2208,6 +2220,9 @@ def get_platforms_by_type( body : dict, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- A list of JSON dict with the platform reports. @@ -2226,7 +2241,7 @@ def get_platforms_by_type( page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) ) @@ -2237,7 +2252,7 @@ async def _async_get_platform_templates_by_type( start_from: int = 0, page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> str | list: """Returns the list of platform templates for a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all platforms are returned. @@ -2261,6 +2276,9 @@ async def _async_get_platform_templates_by_type( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2282,9 +2300,9 @@ async def _async_get_platform_templates_by_type( return await self._async_get_name_request(url, _type="Platforms", _gen_output=self._generate_platform_output, - filter_string=filter_string, classification_names=["Template"], + filter_string=filter_string, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body) + output_format=output_format, report_spec=report_spec, body=body, **{"classification_names": ["Template"], **kwargs}) def get_platform_templates_by_type( self, @@ -2293,7 +2311,7 @@ def get_platform_templates_by_type( start_from: int = 0, page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> str | list: """Returns the list of platform templates with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all platforms are returned. @@ -2316,6 +2334,9 @@ def get_platform_templates_by_type( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2335,7 +2356,7 @@ def get_platform_templates_by_type( page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) ) return response @@ -2429,7 +2450,7 @@ async def _async_get_platform_by_guid( platform_guid: str, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | GetRequestBody] = None + body: Optional[dict | GetRequestBody] = None, **kwargs: Unpack[GetFilters] ) -> str | list: """Returns details about the platform's catalog entry (asset). Async version. @@ -2444,6 +2465,9 @@ async def _async_get_platform_by_guid( body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Response @@ -2460,7 +2484,7 @@ async def _async_get_platform_by_guid( graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) return response @@ -2468,7 +2492,7 @@ def get_platform_by_guid( self, platform_guid: str, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Platforms", - body: Optional[dict | GetRequestBody] = None, + body: Optional[dict | GetRequestBody] = None, **kwargs: Unpack[GetFilters], ) -> str | list: """Returns details about the platform's catalog entry (asset). @@ -2484,6 +2508,9 @@ def get_platform_by_guid( body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2496,7 +2523,7 @@ def get_platform_by_guid( """ response = run_sync( - self._async_get_platform_by_guid(platform_guid, graph_query_depth, output_format, report_spec, body) + self._async_get_platform_by_guid(platform_guid, graph_query_depth, output_format, report_spec, body, **kwargs) ) return response @@ -2556,7 +2583,7 @@ async def _async_get_server_by_guid( server_guid: Optional[str] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "OMAGServers", - body: Optional[dict | GetRequestBody] = None, + body: Optional[dict | GetRequestBody] = None, **kwargs: Unpack[GetFilters], ) -> str | dict: """Returns details about the server's catalog entry (asset). Async version. @@ -2571,6 +2598,9 @@ async def _async_get_server_by_guid( body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2590,7 +2620,7 @@ async def _async_get_server_by_guid( graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) return response @@ -2601,7 +2631,7 @@ def get_server_by_guid( server_guid: Optional[str] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "OMAGServers", - body: Optional[dict | GetRequestBody] = None, + body: Optional[dict | GetRequestBody] = None, **kwargs: Unpack[GetFilters], ) -> str | dict: """Returns details about the platform's catalog entry (asset). @@ -2616,6 +2646,9 @@ def get_server_by_guid( body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2630,7 +2663,7 @@ def get_server_by_guid( response = run_sync( self._async_get_server_by_guid(server_guid, output_format=output_format, graph_query_depth=graph_query_depth, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **kwargs) ) return response @@ -2642,7 +2675,7 @@ async def _async_get_servers_by_name( page_size: int = max_paging_size, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "OMAGServers", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of servers with a particular name. The name is specified in the filter. Async version. @@ -2662,6 +2695,9 @@ async def _async_get_servers_by_name( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the server reports. @@ -2682,7 +2718,7 @@ async def _async_get_servers_by_name( filter_string=filter_string, start_from=start_from, page_size=page_size, graph_query_depth=graph_query_depth, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **kwargs) @dynamic_catch def get_servers_by_name( @@ -2692,7 +2728,7 @@ def get_servers_by_name( page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "OMAGServers", - body: Optional[dict | SearchStringRequestBody] = None, + body: Optional[dict | SearchStringRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list | dict: """Returns the list of servers with a particular name. The name is specified in the filter. @@ -2712,6 +2748,9 @@ def get_servers_by_name( body : dict | SearchStringRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the server reports. @@ -2731,7 +2770,7 @@ def get_servers_by_name( graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) ) return response @@ -2740,7 +2779,7 @@ def get_servers_by_name( async def _async_get_servers_by_dep_impl_type(self, filter_string: str, start_from: int = 0, page_size: int = 0, output_format:str="JSON", report_spec: str = "OMAGServers", - body: Optional[dict | FilterRequestBody] = None) -> str | list: + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters]) -> str | list: """Returns the list of servers with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all servers are returned. Async version. @@ -2757,6 +2796,9 @@ async def _async_get_servers_by_dep_impl_type(self, filter_string: str, body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2778,13 +2820,13 @@ async def _async_get_servers_by_dep_impl_type(self, filter_string: str, _gen_output=self._generate_omag_server_output, filter_string=filter_string, start_from=start_from, page_size=page_size, output_format=output_format, - report_spec=report_spec, body=body) + report_spec=report_spec, body=body, **kwargs) @dynamic_catch def get_servers_by_dep_impl_type(self, search_string: str = "*", effective_time: Optional[str] = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: str | dict = "OMAGServers", - body: Optional[dict | FilterRequestBody] = None) -> str | list: + body: Optional[dict | FilterRequestBody] = None, **kwargs) -> str | list: """Returns the list of servers with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all servers are returned. @@ -2803,6 +2845,9 @@ def get_servers_by_dep_impl_type(self, search_string: str = "*", effective_time: body : dict | GetRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- Response @@ -2821,7 +2866,7 @@ def get_servers_by_dep_impl_type(self, search_string: str = "*", effective_time: """ response = run_sync( self._async_get_servers_by_dep_impl_type(search_string, start_from,page_size, - output_format, report_spec, body) + output_format, report_spec, body, **kwargs) ) return response @@ -2831,7 +2876,7 @@ async def _async_get_server_templates_by_dep_impl_type( start_from: int = 0, page_size: int = 0, output_format: str = "JSON", report_spec: dict = "OMAGServers", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list: """Returns the list of server templates with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, all servers are returned. @@ -2855,6 +2900,9 @@ async def _async_get_server_templates_by_dep_impl_type( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSONdict with the platform reports. @@ -2871,9 +2919,9 @@ async def _async_get_server_templates_by_dep_impl_type( return await self._async_get_name_request(url, _type="OMAGServers", _gen_output=self._generate_omag_server_output, - filter_string=filter_string, classification_names=["Template"], + filter_string=filter_string, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, body=body) + output_format=output_format, report_spec=report_spec, body=body, **{"classification_names": ["Template"], **kwargs}) def get_server_templates_by_dep_impl_type( @@ -2882,7 +2930,7 @@ def get_server_templates_by_dep_impl_type( start_from: int = 0, page_size: int = max_paging_size, output_format: str = "JSON", report_spec: dict = "OMAGServers", - body: Optional[dict | FilterRequestBody] = None, + body: Optional[dict | FilterRequestBody] = None, **kwargs: Unpack[ListFilters], ) -> str | list: """Returns the list of server templates with a particular deployed implementation type. The value is specified in the filter. If it is null, or no request body is supplied, @@ -2904,6 +2952,9 @@ def get_server_templates_by_dep_impl_type( body : dict | FilterRequestBody, optional Request body to pass directly to the API. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List of JSON dict with the platform reports. @@ -2922,7 +2973,7 @@ def get_server_templates_by_dep_impl_type( page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body + body=body, **kwargs ) ) return response @@ -3391,11 +3442,12 @@ def delete_metadata_repository_cohort(self, cohort_guid: str, """ run_sync(self._async_delete_metadata_repository_cohort(cohort_guid, body, cascade)) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_metadata_repository_cohorts_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "MetadataRepositoryCohort", + metadata_element_type: str | None = "MetadataRepositoryCohort", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -3411,7 +3463,7 @@ async def _async_get_metadata_repository_cohorts_by_name( ---------- name: str, optional name to use to find matching cohorts. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -3428,6 +3480,9 @@ async def _async_get_metadata_repository_cohorts_by_name( body: dict, optional Provides a full request body. If specified, the body supercedes other attributes. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -3437,7 +3492,7 @@ async def _async_get_metadata_repository_cohorts_by_name( url = f"{self.runtime_command_root}/metadata-repository-cohorts/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "graph_query_depth": graph_query_depth, "start_from": start_from, @@ -3456,11 +3511,12 @@ async def _async_get_metadata_repository_cohorts_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def get_metadata_repository_cohorts_by_name( self, name: str = "*", - metadata_element_type_name: str | None = "MetadataRepositoryCohort", + metadata_element_type: str | None = "MetadataRepositoryCohort", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -3470,14 +3526,19 @@ def get_metadata_repository_cohorts_by_name( body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> list | str: - """Returns the list of metadata repository cohorts with a particular name.""" + """Returns the list of metadata repository cohorts with a particular name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_metadata_repository_cohorts_by_name( - name, metadata_element_type_name, metadata_element_subtypes, graph_query_depth, + name, metadata_element_type, metadata_element_subtypes, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_metadata_repository_cohorts( self, @@ -3485,7 +3546,7 @@ async def _async_find_metadata_repository_cohorts( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "MetadataRepositoryCohort", + metadata_element_type: str | None = "MetadataRepositoryCohort", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -3507,7 +3568,7 @@ async def _async_find_metadata_repository_cohorts( Ends with the supplied string. ignore_case : bool, [default=True], optional Ignore case when searching. - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -3524,6 +3585,9 @@ async def _async_find_metadata_repository_cohorts( body: dict | SearchStringRequestBody, optional If provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -3534,7 +3598,7 @@ async def _async_find_metadata_repository_cohorts( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "graph_query_depth": graph_query_depth, "start_from": start_from, @@ -3553,6 +3617,7 @@ async def _async_find_metadata_repository_cohorts( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_metadata_repository_cohorts( self, @@ -3560,7 +3625,7 @@ def find_metadata_repository_cohorts( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "MetadataRepositoryCohort", + metadata_element_type: str | None = "MetadataRepositoryCohort", metadata_element_subtypes: list[str] | None = None, graph_query_depth: int = 3, start_from: int = 0, @@ -3570,10 +3635,14 @@ def find_metadata_repository_cohorts( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Retrieve the list of metadata repository cohorts that contain the search string.""" + """Retrieve the list of metadata repository cohorts that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_metadata_repository_cohorts( - search_string, starts_with, ends_with, ignore_case, metadata_element_type_name, + search_string, starts_with, ends_with, ignore_case, metadata_element_type, metadata_element_subtypes, graph_query_depth, start_from, page_size, output_format, report_spec, body, **kwargs ) @@ -3587,7 +3656,7 @@ async def _async_get_metadata_repository_cohort_by_guid( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: """Return the properties of a specific metadata repository cohort. Async version. @@ -3604,6 +3673,9 @@ async def _async_get_metadata_repository_cohort_by_guid( body: dict | GetRequestBody, optional full request body. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -3633,9 +3705,13 @@ def get_metadata_repository_cohort_by_guid( output_format: str = "JSON", report_spec: Optional[str | dict] = None, body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: - """Return the properties of a specific metadata repository cohort.""" + """Return the properties of a specific metadata repository cohort. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_metadata_repository_cohort_by_guid( guid, graph_query_depth, output_format, report_spec, body, **kwargs @@ -3872,6 +3948,9 @@ async def _async_get_elements_by_category( body: dict | FilterRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str @@ -3902,7 +3981,6 @@ async def _async_get_elements_by_category( url, _type="Referenceable", _gen_output=self._generate_referenceable_output, - filter_string=category, start_from=start_from, page_size=page_size, skip_relationships=skip_relationships, @@ -3910,7 +3988,7 @@ async def _async_get_elements_by_category( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"filter_string": category, **kwargs}, ) @dynamic_catch @@ -3950,6 +4028,9 @@ def get_elements_by_category( body: dict | FilterRequestBody, optional - full request specification - if provided, overrides other parameters. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- [dict] | str diff --git a/pyegeria/omvs/schema_maker.py b/pyegeria/omvs/schema_maker.py index 57f4c266..8484db4e 100644 --- a/pyegeria/omvs/schema_maker.py +++ b/pyegeria/omvs/schema_maker.py @@ -12,6 +12,8 @@ from loguru import logger +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._server_client import ServerClient from pyegeria.models import ( NewElementRequestBody, @@ -227,7 +229,7 @@ async def _async_find_schema_types( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of schema type metadata elements that contain the search string. Async Version. @@ -284,6 +286,9 @@ async def _async_find_schema_types( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -338,7 +343,7 @@ def find_schema_types( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of schema type metadata elements that contain the search string. @@ -395,6 +400,9 @@ def find_schema_types( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -437,7 +445,7 @@ async def _async_get_schema_type_by_guid( body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "SchemaTypes", - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: if guid is None and "schema_type_guid" in kwargs: guid = kwargs.pop("schema_type_guid") @@ -467,7 +475,7 @@ def get_schema_type_by_guid( body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "SchemaTypes", - **kwargs, + **kwargs: Unpack[GetFilters], ) -> dict | str: return run_sync( self._async_get_schema_type_by_guid( @@ -498,43 +506,75 @@ def create_schema_attribute_from_template(self, body: dict | TemplateRequestBody return run_sync(self._async_create_schema_attribute_from_template(body)) @dynamic_catch - async def _async_get_schema_types_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Get schema types by name. Async version.""" + async def _async_get_schema_types_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs: Unpack[ListFilters]) -> list | str: + """Get schema types by name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/schema-maker/schema-types/by-name" - return await self._async_get_name_request(url, _type="SchemaType", _gen_output=self._generate_schema_output, filter_string=name, start_from=start_from, page_size=page_size, **kwargs) + return await self._async_get_name_request(url, _type="SchemaType", _gen_output=self._generate_schema_output, start_from=start_from, page_size=page_size, **{"filter_string": name, **kwargs}) + + def get_schema_types_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs: Unpack[ListFilters]) -> list | str: + """Get schema types by name. - def get_schema_types_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Get schema types by name.""" + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_schema_types_by_name(name, start_from, page_size, **kwargs)) @dynamic_catch - async def _async_get_schema_attributes_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Get schema attributes by name. Async version.""" + async def _async_get_schema_attributes_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs: Unpack[ListFilters]) -> list | str: + """Get schema attributes by name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/schema-maker/schema-attributes/by-name" - return await self._async_get_name_request(url, _type="SchemaAttribute", _gen_output=self._generate_schema_output, filter_string=name, start_from=start_from, page_size=page_size, **kwargs) + return await self._async_get_name_request(url, _type="SchemaAttribute", _gen_output=self._generate_schema_output, start_from=start_from, page_size=page_size, **{"filter_string": name, **kwargs}) - def get_schema_attributes_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Get schema attributes by name.""" + def get_schema_attributes_by_name(self, name: str | None = None, start_from: int = 0, page_size: int = 100, **kwargs: Unpack[ListFilters]) -> list | str: + """Get schema attributes by name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_schema_attributes_by_name(name, start_from, page_size, **kwargs)) @dynamic_catch - async def _async_find_schema_attributes(self, search_string: str = "*", start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Find schema attributes. Async version.""" + async def _async_find_schema_attributes(self, search_string: str = "*", start_from: int = 0, page_size: int = 100, **kwargs: Unpack[SearchFilters]) -> list | str: + """Find schema attributes. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/schema-maker/schema-attributes/by-search-string" return await self._async_find_request(url, _type="SchemaAttribute", _gen_output=self._generate_schema_output, search_string=search_string, start_from=start_from, page_size=page_size, **kwargs) - def find_schema_attributes(self, search_string: str = "*", start_from: int = 0, page_size: int = 100, **kwargs) -> list | str: - """Find schema attributes.""" + def find_schema_attributes(self, search_string: str = "*", start_from: int = 0, page_size: int = 100, **kwargs: Unpack[SearchFilters]) -> list | str: + """Find schema attributes. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync(self._async_find_schema_attributes(search_string, start_from, page_size, **kwargs)) @dynamic_catch - async def _async_get_schema_attribute_by_guid(self, guid: str, **kwargs) -> dict | str: - """Get schema attribute by GUID. Async version.""" + async def _async_get_schema_attribute_by_guid(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """Get schema attribute by GUID. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/schema-maker/schema-attributes/{guid}/retrieve" return await self._async_get_guid_request(url, _type="SchemaAttribute", _gen_output=self._generate_schema_output, **kwargs) - def get_schema_attribute_by_guid(self, guid: str, **kwargs) -> dict | str: - """Get schema attribute by GUID.""" + def get_schema_attribute_by_guid(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict | str: + """Get schema attribute by GUID. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_schema_attribute_by_guid(guid, **kwargs)) # diff --git a/pyegeria/omvs/security_officer.py b/pyegeria/omvs/security_officer.py index 38388e97..3a2efe80 100644 --- a/pyegeria/omvs/security_officer.py +++ b/pyegeria/omvs/security_officer.py @@ -11,6 +11,9 @@ import uuid from typing import Optional, Union, Any +from typing import Unpack +from pyegeria.core.request_filters import deprecated_names +from pyegeria.core.request_filters import ListFilters from pyegeria.core._server_client import ServerClient from pyegeria.core._globals import NO_ELEMENTS_FOUND from pyegeria.core._exceptions import PyegeriaNotFoundException @@ -433,6 +436,7 @@ def delete_security_access_control( # Security Roles and Groups # ===================================================================== + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_security_roles( self, @@ -440,7 +444,7 @@ async def _async_find_security_roles( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SecurityRole", + metadata_element_type: str | None = "SecurityRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -455,14 +459,18 @@ async def _async_find_security_roles( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the list of security roles matching the search string. Async version.""" + """Return the list of security roles matching the search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.security_officer_base_url}/collections/by-search-string" params = { "search_string": search_string, "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -486,13 +494,14 @@ async def _async_find_security_roles( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_security_roles( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SecurityRole", + metadata_element_type: str | None = "SecurityRole", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -507,14 +516,18 @@ def find_security_roles( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the list of security roles matching the search string.""" + """Return the list of security roles matching the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_security_roles( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -531,6 +544,7 @@ def find_security_roles( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_security_groups( self, @@ -538,7 +552,7 @@ async def _async_find_security_groups( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SecurityGroup", + metadata_element_type: str | None = "SecurityGroup", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -553,14 +567,18 @@ async def _async_find_security_groups( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the list of security groups matching the search string. Async version.""" + """Return the list of security groups matching the search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.security_officer_base_url}/collections/by-search-string" params = { "search_string": search_string, "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -584,13 +602,14 @@ async def _async_find_security_groups( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_security_groups( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SecurityGroup", + metadata_element_type: str | None = "SecurityGroup", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -605,14 +624,18 @@ def find_security_groups( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the list of security groups matching the search string.""" + """Return the list of security groups matching the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_security_groups( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -879,7 +902,11 @@ async def _async_get_statements_of_applicability_by_name( body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> list | str: - """Return the statements of applicability with a particular name. Async version.""" + """Return the statements of applicability with a particular name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.security_officer_base_url}/statements-of-applicability/by-name" return await self._async_get_name_request( url, @@ -913,7 +940,11 @@ def get_statements_of_applicability_by_name( body: Optional[dict | FilterRequestBody] = None, **kwargs, ) -> list | str: - """Return the statements of applicability with a particular name.""" + """Return the statements of applicability with a particular name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_statements_of_applicability_by_name( filter_string=filter_string, @@ -930,6 +961,7 @@ def get_statements_of_applicability_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_statements_of_applicability( self, @@ -937,7 +969,7 @@ async def _async_find_statements_of_applicability( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -952,7 +984,11 @@ async def _async_find_statements_of_applicability( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the statements of applicability that contain the search string. Async version.""" + """Return the statements of applicability that contain the search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.security_officer_base_url}/statements-of-applicability/by-search-string" return await self._async_find_request( url, @@ -962,7 +998,6 @@ async def _async_find_statements_of_applicability( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type=metadata_element_type_name, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -975,9 +1010,10 @@ async def _async_find_statements_of_applicability( output_format=output_format, report_spec=report_spec, body=body, - **kwargs, + **{"metadata_element_type": metadata_element_type, **kwargs}, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_statements_of_applicability( self, @@ -985,7 +1021,7 @@ def find_statements_of_applicability( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = None, + metadata_element_type: str | None = None, metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1000,14 +1036,18 @@ def find_statements_of_applicability( body: Optional[dict | SearchStringRequestBody] = None, **kwargs, ) -> list | str: - """Return the statements of applicability that contain the search string.""" + """Return the statements of applicability that contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_statements_of_applicability( search_string=search_string, starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1040,6 +1080,9 @@ async def _async_get_statement_of_applicability_by_guid( Each linked control, with its ControlApplicability relationship properties, is returned in the element's otherRelatedElements list. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). """ url = f"{self.security_officer_base_url}/statements-of-applicability/{soa_guid}/retrieve" return await self._async_get_guid_request( @@ -1071,6 +1114,9 @@ def get_statement_of_applicability_by_guid( Each linked control, with its ControlApplicability relationship properties, is returned in the element's otherRelatedElements list. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). """ return run_sync( self._async_get_statement_of_applicability_by_guid( @@ -1182,7 +1228,7 @@ async def _async_get_statement_of_applicability_controls( output_format: str = "JSON", report_spec: str | dict | None = None, body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Return the controls assessed in a statement of applicability, one row per control. Async version. @@ -1201,6 +1247,9 @@ async def _async_get_statement_of_applicability_controls( body : dict | GetRequestBody, optional Passed to get_statement_of_applicability_by_guid. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1226,11 +1275,14 @@ def get_statement_of_applicability_controls( output_format: str = "JSON", report_spec: str | dict | None = None, body: Optional[dict | GetRequestBody] = None, - **kwargs, + **kwargs: Unpack[ListFilters], ) -> list | str: """Return the controls assessed in a statement of applicability, one row per control. See _async_get_statement_of_applicability_controls. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). """ return run_sync( self._async_get_statement_of_applicability_controls( diff --git a/pyegeria/omvs/solution_architect.py b/pyegeria/omvs/solution_architect.py index f642b6ee..b892f9c1 100644 --- a/pyegeria/omvs/solution_architect.py +++ b/pyegeria/omvs/solution_architect.py @@ -14,6 +14,8 @@ from httpx import Response from loguru import logger +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._globals import NO_ELEMENTS_FOUND, NO_GUID_RETURNED from pyegeria.core._server_client import ServerClient, max_paging_size from pyegeria.core._validators import validate_guid @@ -226,7 +228,7 @@ def delete_design_pattern(self, guid: str, body: Optional[dict | DeleteElementRe async def _async_find_design_patterns(self, search_string: str = "*", body: Optional[dict | SearchStringRequestBody] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = "Design-Pattern-DrE", **kwargs): + report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[SearchFilters]): url = f"{self.solution_architect_command_root}/design-patterns/by-search-string" params = { 'graph_query_depth': graph_query_depth, @@ -249,8 +251,12 @@ async def _async_find_design_patterns(self, search_string: str = "*", body: Opti def find_design_patterns(self, search_string: str = "*", body: Optional[dict | SearchStringRequestBody] = None, starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = "Design-Pattern-DrE", **kwargs): - """Find design patterns.""" + report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[SearchFilters]): + """Find design patterns. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync(self._async_find_design_patterns(search_string, body, starts_with, ends_with, ignore_case, start_from, page_size, graph_query_depth, @@ -258,7 +264,7 @@ def find_design_patterns(self, search_string: str = "*", body: Optional[dict | S async def _async_get_design_patterns_by_name(self, name: Optional[str] = None, body: Optional[dict | SearchStringRequestBody] = None, start_from: int = 0, page_size: int = max_paging_size, - graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs): + graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[ListFilters]): if name is None and "filter_string" in kwargs: name = kwargs.pop("filter_string") url = f"{self.solution_architect_command_root}/design-patterns/by-name" @@ -278,14 +284,18 @@ async def _async_get_design_patterns_by_name(self, name: Optional[str] = None, b def get_design_patterns_by_name(self, name: Optional[str] = None, body: Optional[dict | SearchStringRequestBody] = None, start_from: int = 0, page_size: int = max_paging_size, - graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs): - """Get design patterns by name.""" + graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[ListFilters]): + """Get design patterns by name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_design_patterns_by_name(name=name, body=body, start_from=start_from, page_size=page_size, graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, **kwargs)) async def _async_get_design_pattern_by_guid(self, guid: str = None, body: Optional[dict | GetRequestBody] = None, - graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs): + graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[GetFilters]): if guid is None and "design_pattern_guid" in kwargs: guid = kwargs.pop("design_pattern_guid") validate_guid(guid) @@ -302,8 +312,12 @@ async def _async_get_design_pattern_by_guid(self, guid: str = None, body: Option _gen_output=self.generate_design_pattern_output, **params) def get_design_pattern_by_guid(self, guid: str = None, body: Optional[dict | GetRequestBody] = None, - graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs): - """Get a design pattern by GUID.""" + graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Design-Pattern-DrE", **kwargs: Unpack[GetFilters]): + """Get a design pattern by GUID. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_design_pattern_by_guid(guid=guid, body=body, graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, **kwargs)) async def _async_update_solution_blueprint_status(self, guid: str, body: dict | UpdateElementRequestBody): @@ -1628,6 +1642,9 @@ def find_all_information_supply_chains(self, add_implementation: bool = True, body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -1663,7 +1680,6 @@ def find_all_information_supply_chains(self, add_implementation: bool = True, # all-positional call here silently mismatched almost every argument (and, once this # method also grew a `body` parameter, overflowed to a TypeError on every call). return self.find_information_supply_chains( - search_string="*", add_implementation=add_implementation, body=body, starts_with=starts_with, @@ -1689,7 +1705,7 @@ def find_all_information_supply_chains(self, add_implementation: bool = True, start_from=start_from, page_size=page_size, property_names=property_names, - **kwargs + **{"search_string": "*", **kwargs} ) async def _async_find_information_supply_chains( @@ -1704,7 +1720,7 @@ async def _async_find_information_supply_chains( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the information supply chain metadata elements that contain the search string. https://egeria-project.org/concepts/information-supply-chain @@ -1770,6 +1786,9 @@ async def _async_find_information_supply_chains( body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -1838,7 +1857,7 @@ def find_information_supply_chains( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the information supply chain metadata elements that contain the search string. https://egeria-project.org/concepts/information-supply-chain @@ -1903,6 +1922,9 @@ def find_information_supply_chains( body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -3030,7 +3052,7 @@ async def _async_find_solution_blueprints( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Solution-Blueprint", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the solution blueprint elements that contain the search string. https://egeria-project.org/concepts/solution-blueprint @@ -3094,6 +3116,9 @@ async def _async_find_solution_blueprints( body: dict, optional, default = None - additional optional specifications for the search. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -3158,7 +3183,7 @@ def find_solution_blueprints( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Solution-Blueprint", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the list of solution blueprint elements that contain the search string. https://egeria-project.org/concepts/solution-blueprint @@ -3188,6 +3213,9 @@ def find_solution_blueprints( REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -3243,13 +3271,15 @@ def find_all_solution_blueprints(self, classification_names: Optional[list[str]] body: dict| SearchStringRequestBody = None, **kwargs) -> list[dict] | str: """Retrieve a list of all solution blueprint elements https://egeria-project.org/concepts/solution-blueprint + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ # NOTE: must be called with keyword arguments only. find_solution_blueprints' own # positional parameter order does not match this method's — a previous all-positional # call here silently mismatched every argument after search_string and, once this # method also grew a `body` parameter, overflowed to a TypeError on every call. return self.find_solution_blueprints( - search_string="*", body=body, starts_with=starts_with, ends_with=ends_with, @@ -3260,8 +3290,7 @@ def find_all_solution_blueprints(self, classification_names: Optional[list[str]] output_format=output_format, report_spec=report_spec, metadata_element_subtypes=metadata_element_subtypes, - skip_classified_elements=classification_names, - **kwargs + **{"search_string": "*", "skip_classified_elements": classification_names, **kwargs} ) @@ -4619,7 +4648,7 @@ async def _async_find_solution_components( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """ Retrieve the solution component elements that contain the search string. The solutions components returned include information about consumers, actors, and other solution components that are associated with them. @@ -4684,6 +4713,9 @@ async def _async_find_solution_components( body: dict, optional, default = None - additional optional specifications for the search - supersedes search filter, + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -4748,7 +4780,7 @@ def find_solution_components( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """ Retrieve the solution component elements that contain the search string. The solutions components returned include information about consumers, actors, and other solution components that are associated with them. @@ -4774,6 +4806,9 @@ def find_solution_components( REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -4831,12 +4866,14 @@ def find_all_solution_components(self, classification_names: Optional[list[str]] body: dict| SearchStringRequestBody = None, **kwargs) -> list[dict] | str: """Retrieve a list of all solution component elements https://egeria-project.org/concepts/solution-components + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ # NOTE: must be called with keyword arguments only — see find_all_solution_blueprints # for why an all-positional call here is unsafe (parameter orders don't match, and it # overflows to a TypeError on every call once `body` is included positionally). return self.find_solution_components( - search_string="*", body=body, starts_with=starts_with, ends_with=ends_with, @@ -4847,8 +4884,7 @@ def find_all_solution_components(self, classification_names: Optional[list[str]] output_format=output_format, report_spec=report_spec, metadata_element_subtypes=metadata_element_subtypes, - skip_classified_elements=classification_names, - **kwargs + **{"search_string": "*", "skip_classified_elements": classification_names, **kwargs} ) @@ -4992,7 +5028,7 @@ def get_solution_components_by_name(self, name: Optional[str] = None, body: dict return response async def _async_get_solution_component_by_guid(self, guid: str = None, body: dict = None, - graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str = "Solution-Component-DrE", **kwargs) -> dict | str: + graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str = "Solution-Component-DrE", **kwargs: Unpack[GetFilters]) -> dict | str: """ Return the properties of a specific solution component. Async Version. Parameters @@ -5011,6 +5047,9 @@ async def _async_get_solution_component_by_guid(self, guid: str = None, body: di report_spec: str, default = "Solution-Component-DrE" Structure of output to produce: + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict - details of the solution component @@ -5065,7 +5104,7 @@ async def _async_get_solution_component_by_guid(self, guid: str = None, body: di # return self.generate_solution_components_output(element, None, output_format) # return response.json().get("element", NO_ELEMENTS_FOUND) - def get_solution_component_by_guid(self, guid: str = None, body: dict = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Solution-Component-DrE", **kwargs) -> dict | str: + def get_solution_component_by_guid(self, guid: str = None, body: dict = None, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Solution-Component-DrE", **kwargs: Unpack[GetFilters]) -> dict | str: """ Return the properties of a specific solution component. Parameters @@ -5082,6 +5121,9 @@ def get_solution_component_by_guid(self, guid: str = None, body: dict = None, gr REPORT - output markdown with a preamble for a report MERMAID - output mermaid markdown + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict - details of the solution component @@ -5113,8 +5155,12 @@ def get_solution_component_by_guid(self, guid: str = None, body: dict = None, gr - def get_component_related_elements(self, guid: str, **kwargs) -> dict: - """ Get related elements about the component""" + def get_component_related_elements(self, guid: str, **kwargs: Unpack[GetFilters]) -> dict: + """ Get related elements about the component + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ response = self.get_solution_component_by_guid(guid, output_format='JSON', **kwargs) if isinstance(response, str): @@ -6026,7 +6072,7 @@ async def _async_find_solution_roles( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the solution role elements that contain the search string. https://egeria-project.org/concepts/actor @@ -6090,6 +6136,9 @@ async def _async_find_solution_roles( body: dict, optional, default = None - additional optional specifications for the search. Body details, if provided, override search-filter. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -6155,7 +6204,7 @@ def find_solution_roles( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list[dict] | str: """Retrieve the solution role elements that contain the search string. https://egeria-project.org/concepts/actor @@ -6218,6 +6267,9 @@ def find_solution_roles( body: dict, optional, default = None - additional optional specifications for the search. Body details, if provided, override search-filter. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list[dict] | str @@ -6279,9 +6331,11 @@ def find_all_solution_roles( ) -> list[dict] | str: """Retrieve a list of all solution blueprint elements https://egeria-project.org/concepts/actor + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. """ return self.find_solution_roles( - search_string="*", body=body, starts_with=starts_with, ends_with=ends_with, @@ -6291,9 +6345,8 @@ def find_all_solution_roles( graph_query_depth=graph_query_depth, output_format=output_format, report_spec=report_spec, - skip_classified_elements=classification_names, metadata_element_subtypes=metadata_element_subtypes, - **kwargs + **{"search_string": "*", "skip_classified_elements": classification_names, **kwargs} ) @@ -6640,8 +6693,12 @@ async def _async_find_concept_model_elements(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, start_from: int = 0, page_size: int = 100, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> list | str: - """Find concept model elements matching a search string. Async version.""" + **kwargs: Unpack[SearchFilters]) -> list | str: + """Find concept model elements matching a search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.solution_architect_command_root}/concept-model-elements/by-search-string" return await self._async_find_request( url, _type="ConceptModelElement", _gen_output=self._generate_concept_model_element_output, @@ -6655,8 +6712,12 @@ def find_concept_model_elements(self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = False, start_from: int = 0, page_size: int = 100, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> list | str: - """Find concept model elements matching a search string.""" + **kwargs: Unpack[SearchFilters]) -> list | str: + """Find concept model elements matching a search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync(self._async_find_concept_model_elements( search_string, body, starts_with, ends_with, ignore_case, start_from, page_size, output_format, report_spec, **kwargs)) @@ -6666,29 +6727,41 @@ async def _async_get_concept_model_elements_by_name(self, name: str | None = Non body: Optional[dict | SearchStringRequestBody] = None, start_from: int = 0, page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> list | str: - """Return the concept model elements with a specific name. Async version.""" + **kwargs: Unpack[ListFilters]) -> list | str: + """Return the concept model elements with a specific name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.solution_architect_command_root}/concept-model-elements/by-name" return await self._async_get_name_request( url, _type="ConceptModelElement", _gen_output=self._generate_concept_model_element_output, - filter_string=name, body=body, start_from=start_from, page_size=page_size, - output_format=output_format, report_spec=report_spec, **kwargs) + body=body, start_from=start_from, page_size=page_size, + output_format=output_format, report_spec=report_spec, **{"filter_string": name, **kwargs}) @dynamic_catch def get_concept_model_elements_by_name(self, name: str | None = None, body: Optional[dict | SearchStringRequestBody] = None, start_from: int = 0, page_size: int = max_paging_size, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> list | str: - """Return the concept model elements with a specific name.""" + **kwargs: Unpack[ListFilters]) -> list | str: + """Return the concept model elements with a specific name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_concept_model_elements_by_name( name, body, start_from, page_size, output_format, report_spec, **kwargs)) @dynamic_catch async def _async_get_concept_model_element_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> dict | str: - """Return the properties of a specific concept model element. Async version.""" + **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a specific concept model element. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ validate_guid(guid) url = f"{self.solution_architect_command_root}/concept-model-elements/{guid}/retrieve" return await self._async_get_guid_request( @@ -6698,8 +6771,12 @@ async def _async_get_concept_model_element_by_guid(self, guid: str, body: Option @dynamic_catch def get_concept_model_element_by_guid(self, guid: str, body: Optional[dict | GetRequestBody] = None, output_format: str = "JSON", report_spec: str | dict | None = None, - **kwargs) -> dict | str: - """Return the properties of a specific concept model element.""" + **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a specific concept model element. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync(self._async_get_concept_model_element_by_guid( guid, body, output_format, report_spec, **kwargs)) @@ -6920,8 +6997,12 @@ async def _async_find_solution_ports(self, search_string: str = "*", ignore_case: bool = False, start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs) -> list[dict] | str: - """Retrieve the solution ports whose properties contain the search string. Async version.""" + **kwargs: Unpack[SearchFilters]) -> list[dict] | str: + """Retrieve the solution ports whose properties contain the search string. Async version. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ url = f"{self.solution_architect_command_root}/solution-ports/by-search-string" return await self._async_find_request(url, _type="SolutionPort", _gen_output=self._generate_referenceable_output, @@ -6938,8 +7019,12 @@ def find_solution_ports(self, search_string: str = "*", ignore_case: bool = False, start_from: int = 0, page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = None, - **kwargs) -> list[dict] | str: - """Retrieve the solution ports whose properties contain the search string.""" + **kwargs: Unpack[SearchFilters]) -> list[dict] | str: + """Retrieve the solution ports whose properties contain the search string. + + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + """ return run_sync( self._async_find_solution_ports(search_string, body, starts_with, ends_with, ignore_case, start_from, page_size, graph_query_depth, output_format, @@ -6950,23 +7035,31 @@ async def _async_get_solution_ports_by_name(self, name: str | None = None, body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> list | str: - """Retrieve the solution ports with a particular name. Async version.""" + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: + """Retrieve the solution ports with a particular name. Async version. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.solution_architect_command_root}/solution-ports/by-name" return await self._async_get_name_request(url, _type="SolutionPort", _gen_output=self._generate_referenceable_output, - filter_string=name, graph_query_depth=graph_query_depth, + graph_query_depth=graph_query_depth, start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body, **kwargs) + body=body, **{"filter_string": name, **kwargs}) @dynamic_catch def get_solution_ports_by_name(self, name: str | None = None, body: Optional[dict | FilterRequestBody] = None, start_from: int = 0, page_size: int = 0, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> list | str: - """Retrieve the solution ports with a particular name.""" + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: + """Retrieve the solution ports with a particular name. + + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_solution_ports_by_name(name, body, start_from, page_size, graph_query_depth, output_format, report_spec, **kwargs)) @@ -6974,8 +7067,12 @@ def get_solution_ports_by_name(self, name: str | None = None, @dynamic_catch async def _async_get_solution_port_by_guid(self, solution_port_guid: str, body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> dict | str: - """Return the properties of a specific solution port. Async version.""" + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a specific solution port. Async version. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ url = f"{self.solution_architect_command_root}/solution-ports/{solution_port_guid}/retrieve" return await self._async_get_guid_request(url, _type="SolutionPort", _gen_output=self._generate_referenceable_output, @@ -6986,8 +7083,12 @@ async def _async_get_solution_port_by_guid(self, solution_port_guid: str, body: @dynamic_catch def get_solution_port_by_guid(self, solution_port_guid: str, body: Optional[dict] = None, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> dict | str: - """Return the properties of a specific solution port.""" + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: + """Return the properties of a specific solution port. + + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + """ return run_sync( self._async_get_solution_port_by_guid(solution_port_guid, body, graph_query_depth, output_format, report_spec, **kwargs)) diff --git a/pyegeria/omvs/subject_area.py b/pyegeria/omvs/subject_area.py index fef4bca5..5db4e804 100644 --- a/pyegeria/omvs/subject_area.py +++ b/pyegeria/omvs/subject_area.py @@ -10,6 +10,7 @@ from pydantic import Field +from pyegeria.core.request_filters import deprecated_names from pyegeria.core._server_client import ServerClient from pyegeria.models import ( NewElementRequestBody, @@ -569,11 +570,12 @@ def detach_subject_area_hierarchy( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_subject_areas_by_name( self, name: str = None, - metadata_element_type_name: str | None = "SubjectArea", + metadata_element_type: str | None = "SubjectArea", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -591,7 +593,7 @@ async def _async_get_subject_areas_by_name( ---------- name : str, optional The string to find in the properties. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -612,6 +614,9 @@ async def _async_get_subject_areas_by_name( body : dict | FilterRequestBody, optional The request body for the search. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -635,7 +640,7 @@ async def _async_get_subject_areas_by_name( url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/subject-area/collections/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -656,10 +661,11 @@ async def _async_get_subject_areas_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_subject_areas_by_name( self, name: str = None, - metadata_element_type_name: str | None = "SubjectArea", + metadata_element_type: str | None = "SubjectArea", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -677,7 +683,7 @@ def get_subject_areas_by_name( ---------- name : str, optional The string to find in the properties. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -698,6 +704,9 @@ def get_subject_areas_by_name( body : dict | FilterRequestBody, optional The request body for the search. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -722,7 +731,7 @@ def get_subject_areas_by_name( return run_sync( self._async_get_subject_areas_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -736,6 +745,7 @@ def get_subject_areas_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_subject_areas( self, @@ -743,7 +753,7 @@ async def _async_find_subject_areas( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SubjectArea", + metadata_element_type: str | None = "SubjectArea", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -770,7 +780,7 @@ async def _async_find_subject_areas( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -797,6 +807,9 @@ async def _async_find_subject_areas( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -808,7 +821,7 @@ async def _async_find_subject_areas( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -833,13 +846,14 @@ async def _async_find_subject_areas( ) return response + @deprecated_names(metadata_element_type_name="metadata_element_type") def find_subject_areas( self, search_string: str = "*", starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "SubjectArea", + metadata_element_type: str | None = "SubjectArea", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -866,7 +880,7 @@ def find_subject_areas( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The subtypes to filter by. @@ -893,6 +907,9 @@ def find_subject_areas( body : dict, optional Request body for additional parameters. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- list | str @@ -903,7 +920,7 @@ def find_subject_areas( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -951,6 +968,9 @@ async def _async_get_subject_area_by_guid( body : dict | GetRequestBody, optional The request body for the search. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1010,6 +1030,9 @@ def get_subject_area_by_guid( body : dict | GetRequestBody, optional The request body for the search. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/omvs/time_keeper.py b/pyegeria/omvs/time_keeper.py index a4c7b501..cdd41303 100644 --- a/pyegeria/omvs/time_keeper.py +++ b/pyegeria/omvs/time_keeper.py @@ -10,6 +10,7 @@ from pydantic import Field +from pyegeria.core.request_filters import deprecated_names from pyegeria.core._server_client import ServerClient from pyegeria.models import ( NewElementRequestBody, @@ -1287,11 +1288,12 @@ def detach_context_event_timeline_effect( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_get_context_events_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContextEvent", + metadata_element_type: str | None = "ContextEvent", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1309,7 +1311,7 @@ async def _async_get_context_events_by_name( ---------- name : str, optional The name to find in the properties. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -1330,6 +1332,9 @@ async def _async_get_context_events_by_name( body : dict | FilterRequestBody, optional The request body for the search. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1353,7 +1358,7 @@ async def _async_get_context_events_by_name( url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/time-keeper/context-events/by-name" params = { "filter_string": name, - "metadata_element_type_name": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -1374,10 +1379,11 @@ async def _async_get_context_events_by_name( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") def get_context_events_by_name( self, name: str = None, - metadata_element_type_name: str | None = "ContextEvent", + metadata_element_type: str | None = "ContextEvent", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1395,7 +1401,7 @@ def get_context_events_by_name( ---------- name : str, optional The name to find in the properties. - metadata_element_type_name : str, optional + metadata_element_type : str, optional The type of metadata element. metadata_element_subtypes : list[str], optional The list of subtypes to filter by. @@ -1416,6 +1422,9 @@ def get_context_events_by_name( body : dict | FilterRequestBody, optional The request body for the search. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- list | str @@ -1440,7 +1449,7 @@ def get_context_events_by_name( return run_sync( self._async_get_context_events_by_name( name=name, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1454,6 +1463,7 @@ def get_context_events_by_name( ) ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch async def _async_find_context_events( self, @@ -1461,7 +1471,7 @@ async def _async_find_context_events( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContextEvent", + metadata_element_type: str | None = "ContextEvent", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1488,7 +1498,7 @@ async def _async_find_context_events( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -1515,6 +1525,9 @@ async def _async_find_context_events( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1526,7 +1539,7 @@ async def _async_find_context_events( "starts_with": starts_with, "ends_with": ends_with, "ignore_case": ignore_case, - "metadata_element_type": metadata_element_type_name, + "metadata_element_type": metadata_element_type, "metadata_element_subtypes": metadata_element_subtypes, "include_only_relationships": include_only_relationships, "skip_relationships": skip_relationships, @@ -1550,6 +1563,7 @@ async def _async_find_context_events( **params, ) + @deprecated_names(metadata_element_type_name="metadata_element_type") @dynamic_catch def find_context_events( self, @@ -1557,7 +1571,7 @@ def find_context_events( starts_with: bool = True, ends_with: bool = False, ignore_case: bool = True, - metadata_element_type_name: str | None = "ContextEvent", + metadata_element_type: str | None = "ContextEvent", metadata_element_subtypes: list[str] | None = None, include_only_relationships: list[str] | None = None, skip_relationships: list[str] | None = None, @@ -1584,7 +1598,7 @@ def find_context_events( Ends with the supplied string ignore_case : bool, [default=True], optional Ignore case when searching - metadata_element_type_name: str, optional + metadata_element_type: str, optional The type of metadata element to search for. metadata_element_subtypes: list[str], optional The subtypes of metadata element to search for. @@ -1611,6 +1625,9 @@ def find_context_events( body: dict | SearchStringRequestBody, optional - if provided, the search parameters in the body will supercede other attributes. + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -1621,7 +1638,7 @@ def find_context_events( starts_with=starts_with, ends_with=ends_with, ignore_case=ignore_case, - metadata_element_type_name=metadata_element_type_name, + metadata_element_type=metadata_element_type, metadata_element_subtypes=metadata_element_subtypes, include_only_relationships=include_only_relationships, skip_relationships=skip_relationships, @@ -1669,6 +1686,9 @@ async def _async_get_context_event_by_guid( body : dict | GetRequestBody, optional The request body for the retrieval. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -1728,6 +1748,9 @@ def get_context_event_by_guid( body : dict | GetRequestBody, optional The request body for the retrieval. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/omvs/valid_metadata.py b/pyegeria/omvs/valid_metadata.py index c434975c..a9d4165a 100644 --- a/pyegeria/omvs/valid_metadata.py +++ b/pyegeria/omvs/valid_metadata.py @@ -10,6 +10,8 @@ import re from typing import Any, Optional from loguru import logger +from typing import Unpack +from pyegeria.core.request_filters import GetFilters, ListFilters, SearchFilters from pyegeria.core._server_client import ServerClient from pyegeria.core._validators import validate_guid from pyegeria.models import SearchStringRequestBody, ResultsRequestBody, FilterRequestBody, GetRequestBody, \ @@ -2903,7 +2905,7 @@ async def _async_find_specification_property( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of specification property metadata elements that contain the search string. Async Version. @@ -2960,6 +2962,9 @@ async def _async_find_specification_property( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -3015,7 +3020,7 @@ def find_specification_property( page_size: int = 100, graph_query_depth: int = 3, output_format: str = "JSON", report_spec: str | dict = "Referenceable", - **kwargs + **kwargs: Unpack[SearchFilters] ) -> list | str: """ Retrieve the list of specification property metadata elements that contain the search string. @@ -3072,6 +3077,9 @@ def find_specification_property( body: dict | SearchStringRequestBody, optional, default = None - if provided, the search parameters in the body will supercede other attributes, such as "search_string" + Accepts the standard search filters as keyword arguments (see ``SearchFilters`` + in ``pyegeria.core.request_filters``), e.g. ``metadata_element_subtypes=[...]``. + Returns ------- List | str @@ -3109,7 +3117,7 @@ def find_specification_property( async def _async_get_specification_property_by_type(self, spec_property_type: str, body: Optional[dict | ResultsRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Return the list of specification properties containing the supplied type. Async version. Parameters @@ -3128,6 +3136,9 @@ async def _async_get_specification_property_by_type(self, spec_property_type: st report_spec: dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -3169,14 +3180,14 @@ async def _async_get_specification_property_by_type(self, spec_property_type: st start_from=start_from, page_size=page_size, output_format=output_format, report_spec=report_spec, - body=body) + body=body, **kwargs) return response def get_specification_property_by_type(self, spec_property_type:str, body: Optional[dict | ResultsRequestBody] = None, start_from: int = 0, page_size: int = 0, output_format: str = "JSON", - report_spec: str | dict = None) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Return the list of specification properties containing the supplied type. @@ -3196,6 +3207,9 @@ def get_specification_property_by_type(self, spec_property_type:str, body: Optio report_spec: str | dict , optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List | str @@ -3226,12 +3240,12 @@ def get_specification_property_by_type(self, spec_property_type:str, body: Optio """ return run_sync( self._async_get_specification_property_by_type(spec_property_type, body, start_from, page_size, - output_format, report_spec)) + output_format, report_spec, **kwargs)) @dynamic_catch async def _async_get_specification_property_by_name(self, name: Optional[str] = None, start_from: int = 0, page_size: int = 0, category: Optional[str] = None, classification_names: list[str]= None, body: Optional[dict | FilterRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> list | str: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list | str: """ Return the list of specification properties containing the supplied name. Async version. Parameters @@ -3250,6 +3264,9 @@ async def _async_get_specification_property_by_name(self, name: Optional[str] = report_spec: str | dict = None), optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List @@ -3302,7 +3319,7 @@ async def _async_get_specification_property_by_name(self, name: Optional[str] = def get_specification_property_by_name(self, name: Optional[str] = None, start_from: int = 0, page_size: int = 0, category: Optional[str] = None, classification_names: list[str]= None, body: Optional[dict | FilterRequestBody] = None, graph_query_depth: int = 3, output_format: str = "JSON", - report_spec: str | dict = None, **kwargs) -> list: + report_spec: str | dict = None, **kwargs: Unpack[ListFilters]) -> list: """ Return the list of specification properties containing the supplied name. Parameters @@ -3321,6 +3338,9 @@ def get_specification_property_by_name(self, name: Optional[str] = None, start_f report_spec: str | dict = None), optional, default = None The desired output columns/fields to include. + Accepts the standard list filters as keyword arguments (see ``ListFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- List @@ -3362,7 +3382,7 @@ def get_specification_property_by_name(self, name: Optional[str] = None, start_f async def _async_get_specification_property_by_guid(self, guid: str = None, element_type: Optional[str] = None, body: Optional[dict | GetRequestBody] = None, graph_query_depth: int = 3, output_format: str = 'JSON', - report_spec: str | dict = None, **kwargs) -> dict | str: + report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: """Return the properties of a specific collection. Async version. Parameters @@ -3378,6 +3398,9 @@ async def _async_get_specification_property_by_guid(self, guid: str = None, elem report_spec: str | dict, optional, default = None The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str @@ -3422,7 +3445,7 @@ async def _async_get_specification_property_by_guid(self, guid: str = None, elem @dynamic_catch def get_specification_property_by_guid(self, guid: str = None, element_type: Optional[str] = None, body: dict | GetRequestBody= None, - graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs) -> dict | str: + graph_query_depth: int = 3, output_format: str = 'JSON', report_spec: str | dict = None, **kwargs: Unpack[GetFilters]) -> dict | str: """ Return the properties of a specific collection. Async version. Parameters @@ -3439,6 +3462,9 @@ def get_specification_property_by_guid(self, guid: str = None, element_type: Opt The desired output columns/fields to include. + Accepts the standard get filters as keyword arguments (see ``GetFilters`` + in ``pyegeria.core.request_filters``). + Returns ------- dict | str diff --git a/pyegeria/view/base_report_formats.py b/pyegeria/view/base_report_formats.py index 73f17f92..5c8db0c2 100644 --- a/pyegeria/view/base_report_formats.py +++ b/pyegeria/view/base_report_formats.py @@ -114,8 +114,8 @@ 'Campaign-DrE-Basic': FormatSet(target_type='Campaign', heading='Campaign-DrE-Basic Attributes', description='Auto-generated format for Campaign (Create, Basic).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Project Status', key='project_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['Campaign']})), 'Certification-Type-DrE-Advanced': FormatSet(target_type='Certification Type', heading='Certification-Type-DrE-Advanced Attributes', description='Auto-generated format for Certification Type (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CertificationType'})), 'Certification-Type-DrE-Basic': FormatSet(target_type='Certification Type', heading='Certification-Type-DrE-Basic Attributes', description='Auto-generated format for Certification Type (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CertificationType'})), - 'Cited-Document-DrE-Advanced': FormatSet(target_type='Cited Document', heading='Cited-Document-DrE-Advanced Attributes', description='Auto-generated format for Cited Document (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['CitedDocument']})), - 'Cited-Document-DrE-Basic': FormatSet(target_type='Cited Document', heading='Cited-Document-DrE-Basic Attributes', description='Auto-generated format for Cited Document (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['CitedDocument']})), + 'Cited-Document-DrE-Advanced': FormatSet(target_type='Cited Document', heading='Cited-Document-DrE-Advanced Attributes', description='Auto-generated format for Cited Document (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CitedDocument'})), + 'Cited-Document-DrE-Basic': FormatSet(target_type='Cited Document', heading='Cited-Document-DrE-Basic Attributes', description='Auto-generated format for Cited Document (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Edition', key='edition'), Column(name='First Publication Date', key='first_pub_date'), Column(name='Number of Pages', key='number_of_pages'), Column(name='Page Range', key='page_range'), Column(name='Publication City', key='pub_city'), Column(name='Publication Date', key='pub_date'), Column(name='Publication Numbers', key='pub_numbers'), Column(name='Publication Series', key='publication_series'), Column(name='Publication Series Volume', key='pub_series_volume'), Column(name='Publication Year', key='pub_year'), Column(name='Publisher', key='publisher')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CitedDocument'})), 'Collection-DrE-Advanced': FormatSet(target_type='Collection', heading='Collection-DrE-Advanced Attributes', description='Auto-generated format for Collection (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Collection-DrE-Basic': FormatSet(target_type='Collection', heading='Collection-DrE-Basic Attributes', description='Auto-generated format for Collection (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Collection-Folder-DrE-Advanced': FormatSet(target_type='Collection Folder', heading='Collection-Folder-DrE-Advanced Attributes', description='Auto-generated format for Collection Folder (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CollectionFolder'})), @@ -132,8 +132,8 @@ 'Concept-Model-DrE-Basic': FormatSet(target_type='Concept Model', heading='Concept-Model-DrE-Basic Attributes', description='Auto-generated format for Concept Model (Create, Basic).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ConceptModel'})), 'Context-Event-Collection-DrE-Advanced': FormatSet(target_type='Context Event Collection', heading='Context-Event-Collection-DrE-Advanced Attributes', description='Auto-generated format for Context Event Collection (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ContextEventCollection'})), 'Context-Event-Collection-DrE-Basic': FormatSet(target_type='Context Event Collection', heading='Context-Event-Collection-DrE-Basic Attributes', description='Auto-generated format for Context Event Collection (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ContextEventCollection'})), - 'CSV-Data-File-Element-DrE-Advanced': FormatSet(target_type='CSV Data File Element', heading='CSV-Data-File-Element-DrE-Advanced Attributes', description='Auto-generated format for CSV Data File Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'CSV-Data-File-Element-DrE-Basic': FormatSet(target_type='CSV Data File Element', heading='CSV-Data-File-Element-DrE-Basic Attributes', description='Auto-generated format for CSV Data File Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'CSV-Data-File-Element-DrE-Advanced': FormatSet(target_type='CSV Data File Element', heading='CSV-Data-File-Element-DrE-Advanced Attributes', description='Auto-generated format for CSV Data File Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CSVFile', 'property_names': ['displayName', 'qualifiedName']})), + 'CSV-Data-File-Element-DrE-Basic': FormatSet(target_type='CSV Data File Element', heading='CSV-Data-File-Element-DrE-Basic Attributes', description='Auto-generated format for CSV Data File Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Name', key='file_name'), Column(name='File Type', key='file_type'), Column(name='File Path Name', key='file_path_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CSVFile', 'property_names': ['displayName', 'qualifiedName']})), 'CSV-File-DrE-Advanced': FormatSet(target_type='CSV File', heading='CSV-File-DrE-Advanced Attributes', description='Auto-generated format for CSV File (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File Path', key='file_path'), Column(name='File System Name', key='file_system_name'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File Path', key='file_path'), Column(name='File System Name', key='file_system_name'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='AssetMaker.find_assets', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CSVFile'})), 'CSV-File-DrE-Basic': FormatSet(target_type='CSV File', heading='CSV-File-DrE-Basic Attributes', description='Auto-generated format for CSV File (Create, Basic).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File Path', key='file_path'), Column(name='File System Name', key='file_system_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='File Encoding', key='file_encoding'), Column(name='File Extension', key='file_extension'), Column(name='File Path', key='file_path'), Column(name='File System Name', key='file_system_name')])], action=ActionParameter(function='AssetMaker.find_assets', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CSVFile'})), 'Dashboard-DrE-Advanced': FormatSet(target_type='Dashboard', heading='Dashboard-DrE-Advanced Attributes', description='Auto-generated format for Dashboard (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Aliases', key='aliases'), Column(name='Refresh Time Interval', key='refresh_time_interval'), Column(name='Layout Style', key='layout_style'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Aliases', key='aliases'), Column(name='Refresh Time Interval', key='refresh_time_interval'), Column(name='Layout Style', key='layout_style'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Dashboard'})), @@ -166,8 +166,8 @@ 'Data-Value-Specification-DrE-Basic': FormatSet(target_type='Data Value Specification', heading='Data-Value-Specification-DrE-Basic Attributes', description='Auto-generated format for Data Value Specification (Create, Basic).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Absolute Uncertainty', key='absolute_uncertainty'), Column(name='Data Type', key='data_type', valid_values=['string', 'int', 'long', 'date', 'boolean', 'char', 'byte', 'float', 'double', 'biginteger', 'bigdecimal', 'array', 'array', 'map', 'map', 'map', 'map', 'map', 'map', 'map', 'short', 'map>', 'other']), Column(name='In Data Value Specification', key='in_data_value_specification'), Column(name='Match Property Names', key='match_property_names'), Column(name='Match Threshold', key='match_threshold'), Column(name='Name Patterns', key='name_patterns'), Column(name='Namespace Path', key='namespace_path'), Column(name='Relative Uncertainty', key='relative_uncertainty'), Column(name='Specializes Data Value Specification', key='specializes_data_value_specification'), Column(name='Specification', key='specification'), Column(name='Specification Details', key='specification_details'), Column(name='Units', key='units')])], action=ActionParameter(function='DataDesigner.find_data_value_specifications', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataValueSpecification'})), 'Design-Pattern-DrE-Advanced': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Advanced Attributes', description='Auto-generated format for Design Pattern (Create, Advanced).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Design-Pattern-DrE-Basic': FormatSet(target_type='Design Pattern', heading='Design-Pattern-DrE-Basic Attributes', description='Auto-generated format for Design Pattern (Create, Basic).', family='Solution Architect', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Benefits', key='benefits'), Column(name='Context', key='context'), Column(name='Forces', key='forces'), Column(name='Liabilities', key='liabilities'), Column(name='Problem Example', key='problem_example'), Column(name='Problem Statement', key='problem_statement'), Column(name='Solution Description', key='solution_description'), Column(name='Solution Example', key='solution_example'), Column(name='Usage', key='usage')])], action=ActionParameter(function='SolutionArchitect.find_design_patterns', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Digital-Product-Catalog-DrE-Advanced': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Advanced Attributes', description='Auto-generated format for Digital Product Catalog (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'classification_names': ['DigitalProductCatalog']})), - 'Digital-Product-Catalog-DrE-Basic': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Basic Attributes', description='Auto-generated format for Digital Product Catalog (Create, Basic).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'classification_names': ['DigitalProductCatalog']})), + 'Digital-Product-Catalog-DrE-Advanced': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Advanced Attributes', description='Auto-generated format for Digital Product Catalog (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProductCatalog'})), + 'Digital-Product-Catalog-DrE-Basic': FormatSet(target_type='Digital Product Catalog', heading='Digital-Product-Catalog-DrE-Basic Attributes', description='Auto-generated format for Digital Product Catalog (Create, Basic).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProductCatalog'})), 'Digital-Product-DrE-Advanced': FormatSet(target_type='Digital Product', heading='Digital-Product-DrE-Advanced Attributes', description='Auto-generated format for Digital Product (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Current Version', key='current_version'), Column(name='Introduction Date', key='introduction_date'), Column(name='Maturity', key='maturity'), Column(name='Next Version Date', key='next_version_date'), Column(name='Product Name', key='product_name'), Column(name='Service Life', key='service_life'), Column(name='Withdrawal Date', key='withdrawal_date'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='Current Version', key='current_version'), Column(name='Introduction Date', key='introduction_date'), Column(name='Maturity', key='maturity'), Column(name='Next Version Date', key='next_version_date'), Column(name='Product Name', key='product_name'), Column(name='Service Life', key='service_life'), Column(name='Withdrawal Date', key='withdrawal_date'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProduct'})), 'Digital-Product-DrE-Basic': FormatSet(target_type='Digital Product', heading='Digital-Product-DrE-Basic Attributes', description='Auto-generated format for Digital Product (Create, Basic).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Current Version', key='current_version'), Column(name='Introduction Date', key='introduction_date'), Column(name='Maturity', key='maturity'), Column(name='Next Version Date', key='next_version_date'), Column(name='Product Name', key='product_name'), Column(name='Service Life', key='service_life'), Column(name='Withdrawal Date', key='withdrawal_date'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose'), Column(name='Current Version', key='current_version'), Column(name='Introduction Date', key='introduction_date'), Column(name='Maturity', key='maturity'), Column(name='Next Version Date', key='next_version_date'), Column(name='Product Name', key='product_name'), Column(name='Service Life', key='service_life'), Column(name='Withdrawal Date', key='withdrawal_date')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalProduct'})), 'Digital-Subscription-DrE-Advanced': FormatSet(target_type='Digital Subscription', heading='Digital-Subscription-DrE-Advanced Attributes', description='Auto-generated format for Digital Subscription (Create, Advanced).', family='Digital Product Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Support Level', key='support_level'), Column(name='Service Levels', key='service_levels'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='Support Level', key='support_level'), Column(name='Service Levels', key='service_levels'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DigitalSubscription'})), @@ -176,26 +176,26 @@ 'Display-Data-Container-DrE-Basic': FormatSet(target_type='Display Data Container', heading='Display-Data-Container-DrE-Basic Attributes', description='Auto-generated format for Display Data Container (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Renderer', key='renderer'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Renderer', key='renderer'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DisplayDataContainer'})), 'Display-Data-Field-DrE-Advanced': FormatSet(target_type='Display Data Field', heading='Display-Data-Field-DrE-Advanced Attributes', description='Auto-generated format for Display Data Field (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Input Field', key='input_field'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Input Field', key='input_field'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='GUID', key='guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DisplayDataField'})), 'Display-Data-Field-DrE-Basic': FormatSet(target_type='Display Data Field', heading='Display-Data-Field-DrE-Basic Attributes', description='Auto-generated format for Display Data Field (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Input Field', key='input_field'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Input Field', key='input_field'), Column(name='Placement Kind', key='placement_kind'), Column(name='Span', key='span'), Column(name='Presentation Style', key='presentation_style'), Column(name='Markdown Content', key='markdown_content'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DisplayDataField'})), - 'Element-DrE-Advanced': FormatSet(target_type='Element', heading='Element-DrE-Advanced Attributes', description='Auto-generated format for Element (Create, Advanced).', family='Automation', formats=[Format(types=['LIST'], attributes=[Column(name='Element Type Name', key='type_name'), Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties'), Column(name='Generic Initial Classifications', key='initial_classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Effective Time', key='effective_time'), Column(name='Deep Copy', key='deep_copy'), Column(name='Initial Status', key='initial_status', valid_values=['ACTIVE', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'DEPRECATED', 'OTHER'])]), Format(types=['ALL'], attributes=[Column(name='Element Type Name', key='type_name'), Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties'), Column(name='Initial Status', key='initial_status', valid_values=['ACTIVE', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'DEPRECATED', 'OTHER']), Column(name='Generic Initial Classifications', key='initial_classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Effective Time', key='effective_time'), Column(name='Deep Copy', key='deep_copy')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Element-DrE-Basic': FormatSet(target_type='Element', heading='Element-DrE-Basic Attributes', description='Auto-generated format for Element (Create, Basic).', family='Automation', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Embedded-Process-DrE-Advanced': FormatSet(target_type='Embedded Process', heading='Embedded-Process-DrE-Advanced Attributes', description='Auto-generated format for Embedded Process (Create, Advanced).', family='Action Author', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Formula', key='formula'), Column(name='Formula Type', key='formula_type'), Column(name='Expected Behaviour', key='expected_behaviour'), Column(name='Priority', key='priority'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Formula', key='formula'), Column(name='Formula Type', key='formula_type'), Column(name='Expected Behaviour', key='expected_behaviour'), Column(name='Priority', key='priority'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Embedded-Process-DrE-Basic': FormatSet(target_type='Embedded Process', heading='Embedded-Process-DrE-Basic Attributes', description='Auto-generated format for Embedded Process (Create, Basic).', family='Action Author', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Priority', key='priority'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Priority', key='priority')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Element-DrE-Advanced': FormatSet(target_type='Element', heading='Element-DrE-Advanced Attributes', description='Auto-generated format for Element (Create, Advanced).', family='Automation', formats=[Format(types=['LIST'], attributes=[Column(name='Element Type Name', key='type_name'), Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties'), Column(name='Generic Initial Classifications', key='initial_classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Effective Time', key='effective_time'), Column(name='Deep Copy', key='deep_copy'), Column(name='Initial Status', key='initial_status', valid_values=['ACTIVE', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'DEPRECATED', 'OTHER'])]), Format(types=['ALL'], attributes=[Column(name='Element Type Name', key='type_name'), Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties'), Column(name='Initial Status', key='initial_status', valid_values=['ACTIVE', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'DEPRECATED', 'OTHER']), Column(name='Generic Initial Classifications', key='initial_classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Effective Time', key='effective_time'), Column(name='Deep Copy', key='deep_copy')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'OpenMetadataRoot', 'property_names': ['displayName', 'qualifiedName']})), + 'Element-DrE-Basic': FormatSet(target_type='Element', heading='Element-DrE-Basic Attributes', description='Auto-generated format for Element (Create, Basic).', family='Automation', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'OpenMetadataRoot', 'property_names': ['displayName', 'qualifiedName']})), + 'Embedded-Process-DrE-Advanced': FormatSet(target_type='Embedded Process', heading='Embedded-Process-DrE-Advanced Attributes', description='Auto-generated format for Embedded Process (Create, Advanced).', family='Action Author', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Formula', key='formula'), Column(name='Formula Type', key='formula_type'), Column(name='Expected Behaviour', key='expected_behaviour'), Column(name='Priority', key='priority'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Formula', key='formula'), Column(name='Formula Type', key='formula_type'), Column(name='Expected Behaviour', key='expected_behaviour'), Column(name='Priority', key='priority'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'EmbeddedProcess', 'property_names': ['displayName', 'qualifiedName']})), + 'Embedded-Process-DrE-Basic': FormatSet(target_type='Embedded Process', heading='Embedded-Process-DrE-Basic Attributes', description='Auto-generated format for Embedded Process (Create, Basic).', family='Action Author', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Priority', key='priority'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Priority', key='priority')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'EmbeddedProcess', 'property_names': ['displayName', 'qualifiedName']})), 'Event-Set-DrE-Advanced': FormatSet(target_type='Event Set', heading='Event-Set-DrE-Advanced Attributes', description='Auto-generated format for Event Set (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'EventSet'})), 'Event-Set-DrE-Basic': FormatSet(target_type='Event Set', heading='Event-Set-DrE-Basic Attributes', description='Auto-generated format for Event Set (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'EventSet'})), 'Experiment-DrE-Advanced': FormatSet(target_type='Experiment', heading='Experiment-DrE-Advanced Attributes', description='Auto-generated format for Experiment (Create, Advanced).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Project Status', key='project_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['Experiment']})), 'Experiment-DrE-Basic': FormatSet(target_type='Experiment', heading='Experiment-DrE-Basic Attributes', description='Auto-generated format for Experiment (Create, Basic).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Project Status', key='project_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['Experiment']})), - 'External-Data-Source-DrE-Advanced': FormatSet(target_type='External Data Source', heading='External-Data-Source-DrE-Advanced Attributes', description='Auto-generated format for External Data Source (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalDataSource']})), - 'External-Data-Source-DrE-Basic': FormatSet(target_type='External Data Source', heading='External-Data-Source-DrE-Basic Attributes', description='Auto-generated format for External Data Source (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalDataSource']})), - 'External-Model-Source-DrE-Advanced': FormatSet(target_type='External Model Source', heading='External-Model-Source-DrE-Advanced Attributes', description='Auto-generated format for External Model Source (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalModelSource']})), - 'External-Model-Source-DrE-Basic': FormatSet(target_type='External Model Source', heading='External-Model-Source-DrE-Basic Attributes', description='Auto-generated format for External Model Source (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalModelSource']})), + 'External-Data-Source-DrE-Advanced': FormatSet(target_type='External Data Source', heading='External-Data-Source-DrE-Advanced Attributes', description='Auto-generated format for External Data Source (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalDataSource'})), + 'External-Data-Source-DrE-Basic': FormatSet(target_type='External Data Source', heading='External-Data-Source-DrE-Basic Attributes', description='Auto-generated format for External Data Source (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalDataSource'})), + 'External-Model-Source-DrE-Advanced': FormatSet(target_type='External Model Source', heading='External-Model-Source-DrE-Advanced Attributes', description='Auto-generated format for External Model Source (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalModelSource'})), + 'External-Model-Source-DrE-Basic': FormatSet(target_type='External Model Source', heading='External-Model-Source-DrE-Basic Attributes', description='Auto-generated format for External Model Source (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalModelSource'})), 'External-Reference-DrE-Advanced': FormatSet(target_type='External Reference', heading='External-Reference-DrE-Advanced Attributes', description='Auto-generated format for External Reference (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'External-Reference-DrE-Basic': FormatSet(target_type='External Reference', heading='External-Reference-DrE-Basic Attributes', description='Auto-generated format for External Reference (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'External-Source-Code-DrE-Advanced': FormatSet(target_type='External Source Code', heading='External-Source-Code-DrE-Advanced Attributes', description='Auto-generated format for External Source Code (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalSourceCode']})), - 'External-Source-Code-DrE-Basic': FormatSet(target_type='External Source Code', heading='External-Source-Code-DrE-Basic Attributes', description='Auto-generated format for External Source Code (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalSourceCode']})), - 'External-Standard-DrE-Advanced': FormatSet(target_type='External Standard', heading='External-Standard-DrE-Advanced Attributes', description='Auto-generated format for External Standard (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalStandard']})), - 'External-Standard-DrE-Basic': FormatSet(target_type='External Standard', heading='External-Standard-DrE-Basic Attributes', description='Auto-generated format for External Standard (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['ExternalStandard']})), - 'Folder-Element-DrE-Advanced': FormatSet(target_type='Folder Element', heading='Folder-Element-DrE-Advanced Attributes', description='Auto-generated format for Folder Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Folder-Element-DrE-Basic': FormatSet(target_type='Folder Element', heading='Folder-Element-DrE-Basic Attributes', description='Auto-generated format for Folder Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'External-Source-Code-DrE-Advanced': FormatSet(target_type='External Source Code', heading='External-Source-Code-DrE-Advanced Attributes', description='Auto-generated format for External Source Code (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalSourceCode'})), + 'External-Source-Code-DrE-Basic': FormatSet(target_type='External Source Code', heading='External-Source-Code-DrE-Basic Attributes', description='Auto-generated format for External Source Code (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalSourceCode'})), + 'External-Standard-DrE-Advanced': FormatSet(target_type='External Standard', heading='External-Standard-DrE-Advanced Attributes', description='Auto-generated format for External Standard (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalStandard'})), + 'External-Standard-DrE-Basic': FormatSet(target_type='External Standard', heading='External-Standard-DrE-Basic Attributes', description='Auto-generated format for External Standard (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ExternalStandard'})), + 'Folder-Element-DrE-Advanced': FormatSet(target_type='Folder Element', heading='Folder-Element-DrE-Advanced Attributes', description='Auto-generated format for Folder Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataFolder', 'property_names': ['displayName', 'qualifiedName']})), + 'Folder-Element-DrE-Basic': FormatSet(target_type='Folder Element', heading='Folder-Element-DrE-Basic Attributes', description='Auto-generated format for Folder Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Folder Name', key='folder_name'), Column(name='Directory Path Name', key='path_name'), Column(name='File System Name', key='file_system_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'DataFolder', 'property_names': ['displayName', 'qualifiedName']})), 'Folio-DrE-Advanced': FormatSet(target_type='Folio', heading='Folio-DrE-Advanced Attributes', description='Auto-generated format for Folio (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Folio'})), 'Folio-DrE-Basic': FormatSet(target_type='Folio', heading='Folio-DrE-Basic Attributes', description='Auto-generated format for Folio (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Folio'})), 'Glossary-DrE-Advanced': FormatSet(target_type='Glossary', heading='Glossary-DrE-Advanced Attributes', description='Auto-generated format for Glossary (Create, Advanced).', family='Glossary', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Canonical Scope', key='scope'), Column(name='Is Canonical', key='is_canonical'), Column(name='Is Taxonomy', key='is_taxonomy'), Column(name='Language', key='language'), Column(name='Organizing Principle', key='organizing_principle'), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='Canonical Scope', key='scope'), Column(name='Is Canonical', key='is_canonical'), Column(name='Is Taxonomy', key='is_taxonomy'), Column(name='Language', key='language'), Column(name='Organizing Principle', key='organizing_principle'), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='GlossaryManager.find_glossaries', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), @@ -252,8 +252,8 @@ 'IT-Subsystem-DrE-Basic': FormatSet(target_type='IT Subsystem', heading='IT-Subsystem-DrE-Basic Attributes', description='Auto-generated format for IT Subsystem (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ITSubsystem'})), 'Journal-Entry-DrE-Advanced': FormatSet(target_type='Journal Entry', heading='Journal-Entry-DrE-Advanced Attributes', description='Auto-generated format for Journal Entry (Create, Advanced).', family='Feedback', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Description', key='description'), Column(name='Situation', key='situation')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Qualified Name', key='qualified_name'), Column(name='Situation', key='situation')])]), 'Journal-Entry-DrE-Basic': FormatSet(target_type='Journal Entry', heading='Journal-Entry-DrE-Basic Attributes', description='Auto-generated format for Journal Entry (Create, Basic).', family='Feedback', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Situation', key='situation')]), Format(types=['ALL'], attributes=[Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Qualified Name', key='qualified_name'), Column(name='Situation', key='situation')])]), - 'Kafka-Server-Element-DrE-Advanced': FormatSet(target_type='Kafka Server Element', heading='Kafka-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for Kafka Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description')]), Format(types=['ALL'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Kafka-Server-Element-DrE-Basic': FormatSet(target_type='Kafka Server Element', heading='Kafka-Server-Element-DrE-Basic Attributes', description='Auto-generated format for Kafka Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description')]), Format(types=['ALL'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Kafka-Server-Element-DrE-Advanced': FormatSet(target_type='Kafka Server Element', heading='Kafka-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for Kafka Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')]), Format(types=['ALL'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Apache Kafka Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), + 'Kafka-Server-Element-DrE-Basic': FormatSet(target_type='Kafka Server Element', heading='Kafka-Server-Element-DrE-Basic Attributes', description='Auto-generated format for Kafka Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')]), Format(types=['ALL'], attributes=[Column(name='Kafka Server Name', key='kafka_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Apache Kafka Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), 'License-Type-DrE-Advanced': FormatSet(target_type='License Type', heading='License-Type-DrE-Advanced Attributes', description='Auto-generated format for License Type (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'LicenseType'})), 'License-Type-DrE-Basic': FormatSet(target_type='License Type', heading='License-Type-DrE-Basic Attributes', description='Auto-generated format for License Type (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Entitlements', key='entitlements'), Column(name='Obligations', key='obligations'), Column(name='Restrictions', key='restrictions')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'LicenseType'})), 'Like-DrE-Advanced': FormatSet(target_type='Like', heading='Like-DrE-Advanced Attributes', description='Auto-generated format for Like (Create, Advanced).', family='Feedback', formats=[Format(types=['LIST'], attributes=[Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Version Identifier', key='current_version'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Parent Relationship Type Name', key='parent_rel_type_name'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Parent at End1', key='parent_end1'), Column(name='Additional Properties', key='additional_properties'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category'), Column(name='Version Identifier', key='current_version'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Parent Relationship Type Name', key='parent_rel_type_name'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Parent at End1', key='parent_end1'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Additional Properties', key='additional_properties'), Column(name='URL', key='url'), Column(name='Supplementary Properties', key='supplementary_properties')])]), @@ -286,14 +286,14 @@ 'Personal-Project-DrE-Basic': FormatSet(target_type='Personal Project', heading='Personal-Project-DrE-Basic Attributes', description='Auto-generated format for Personal Project (Create, Basic).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Project Status', key='project_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['PersonalProject']})), 'Perspective-DrE-Advanced': FormatSet(target_type='Perspective', heading='Perspective-DrE-Advanced Attributes', description='Auto-generated format for Perspective (Create, Advanced).', family='Actor Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ActorManager.find_perspectives', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Perspective'})), 'Perspective-DrE-Basic': FormatSet(target_type='Perspective', heading='Perspective-DrE-Basic Attributes', description='Auto-generated format for Perspective (Create, Basic).', family='Actor Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='ActorManager.find_perspectives', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Perspective'})), - 'Postgres-Database-Element-DrE-Advanced': FormatSet(target_type='Postgres Database Element', heading='Postgres-Database-Element-DrE-Advanced Attributes', description='Auto-generated format for Postgres Database Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Postgres-Database-Element-DrE-Basic': FormatSet(target_type='Postgres Database Element', heading='Postgres-Database-Element-DrE-Basic Attributes', description='Auto-generated format for Postgres Database Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Postgres-Server-Element-DrE-Advanced': FormatSet(target_type='Postgres Server Element', heading='Postgres-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for Postgres Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Postgres-Server-Element-DrE-Basic': FormatSet(target_type='Postgres Server Element', heading='Postgres-Server-Element-DrE-Basic Attributes', description='Auto-generated format for Postgres Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Postgres-Database-Element-DrE-Advanced': FormatSet(target_type='Postgres Database Element', heading='Postgres-Database-Element-DrE-Advanced Attributes', description='Auto-generated format for Postgres Database Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'PostgreSQL Relational Database', 'metadata_element_type': 'RelationalDatabase', 'property_names': ['displayName', 'qualifiedName']})), + 'Postgres-Database-Element-DrE-Basic': FormatSet(target_type='Postgres Database Element', heading='Postgres-Database-Element-DrE-Basic Attributes', description='Auto-generated format for Postgres Database Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Database Name', key='postgres_database'), Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'PostgreSQL Relational Database', 'metadata_element_type': 'RelationalDatabase', 'property_names': ['displayName', 'qualifiedName']})), + 'Postgres-Server-Element-DrE-Advanced': FormatSet(target_type='Postgres Server Element', heading='Postgres-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for Postgres Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'PostgreSQL Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), + 'Postgres-Server-Element-DrE-Basic': FormatSet(target_type='Postgres Server Element', heading='Postgres-Server-Element-DrE-Basic Attributes', description='Auto-generated format for Postgres Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='Postgres Server Name', key='postgres_server'), Column(name='Host Name', key='host_name'), Column(name='Port', key='port'), Column(name='Secrets Store Path Name', key='secrets_store_path_name'), Column(name='Secrets Collection Name', key='secrets_collection_name'), Column(name='Resource Name', key='resource_name'), Column(name='Version Identifier', key='version_identifier'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'PostgreSQL Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), 'Project-DrE-Advanced': FormatSet(target_type='Project', heading='Project-DrE-Advanced Attributes', description='Auto-generated format for Project (Create, Advanced).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Project Status', key='project_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), 'Project-DrE-Basic': FormatSet(target_type='Project', heading='Project-DrE-Basic Attributes', description='Auto-generated format for Project (Create, Basic).', family='Projects', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Project Status', key='project_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Actual Completion Date', key='actual_completion_date'), Column(name='Actual Start Date', key='actual_start_date'), Column(name='Mission', key='mission'), Column(name='Planned Completion Date', key='planned_completion_date'), Column(name='Planned Start Date', key='planned_start_date'), Column(name='Priority', key='priority'), Column(name='Project Approach', key='approach'), Column(name='Project Health', key='project_health'), Column(name='Project Identifier', key='project_identifier'), Column(name='Project Management Style', key='management_style'), Column(name='Project Phase', key='project_phase'), Column(name='Project Results Usage', key='results_usage'), Column(name='Project Scope', key='project_scope'), Column(name='Project Status', key='project_status'), Column(name='Project Type', key='project_type', valid_values=['Project', 'Campaign', 'Task', 'PersonalProject', 'StudyProject', 'Experiment']), Column(name='Purposes', key='purposes'), Column(name='Sub-Projects', key='sub_projects'), Column(name='Success Criteria', key='success_criteria')])], action=ActionParameter(function='ProjectManager.find_projects', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Question-DrE-Advanced': FormatSet(target_type='Question', heading='Question-DrE-Advanced Attributes', description='Auto-generated format for Question (Create, Advanced).', family='Glossary', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Class Word Classification', key='class_word_classification'), Column(name='Context Scope', key='scope'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Is Abstract Concept', key='is_abstract_concept'), Column(name='Is Activity Description', key='is_activity_description'), Column(name='Is Context', key='is_data_value'), Column(name='Modifier Classification', key='modifier_classification'), Column(name='Prime Word Classification', key='prime_word_classification'), Column(name='Summary', key='summary'), Column(name='Term Activity Type', key='term_activity_type', valid_values=['OPERATION', 'ACTION', 'TASK', 'PROCESS', 'PROJECT', 'OTHER']), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Class Word Classification', key='class_word_classification'), Column(name='Context Scope', key='scope'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Is Abstract Concept', key='is_abstract_concept'), Column(name='Is Activity Description', key='is_activity_description'), Column(name='Is Context', key='is_data_value'), Column(name='Modifier Classification', key='modifier_classification'), Column(name='Prime Word Classification', key='prime_word_classification'), Column(name='Summary', key='summary'), Column(name='Term Activity Type', key='term_activity_type', valid_values=['OPERATION', 'ACTION', 'TASK', 'PROCESS', 'PROJECT', 'OTHER']), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='GlossaryManager.find_glossary_terms', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'classification': 'Question', 'metadata_element_type': 'GlossaryTerm'})), - 'Question-DrE-Basic': FormatSet(target_type='Question', heading='Question-DrE-Basic Attributes', description='Auto-generated format for Question (Create, Basic).', family='Glossary', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage')])], action=ActionParameter(function='GlossaryManager.find_glossary_terms', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'classification': 'Question', 'metadata_element_type': 'GlossaryTerm'})), + 'Question-DrE-Advanced': FormatSet(target_type='Question', heading='Question-DrE-Advanced Attributes', description='Auto-generated format for Question (Create, Advanced).', family='Glossary', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Class Word Classification', key='class_word_classification'), Column(name='Context Scope', key='scope'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Is Abstract Concept', key='is_abstract_concept'), Column(name='Is Activity Description', key='is_activity_description'), Column(name='Is Context', key='is_data_value'), Column(name='Modifier Classification', key='modifier_classification'), Column(name='Prime Word Classification', key='prime_word_classification'), Column(name='Summary', key='summary'), Column(name='Term Activity Type', key='term_activity_type', valid_values=['OPERATION', 'ACTION', 'TASK', 'PROCESS', 'PROJECT', 'OTHER']), Column(name='Usage', key='usage'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Class Word Classification', key='class_word_classification'), Column(name='Context Scope', key='scope'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Is Abstract Concept', key='is_abstract_concept'), Column(name='Is Activity Description', key='is_activity_description'), Column(name='Is Context', key='is_data_value'), Column(name='Modifier Classification', key='modifier_classification'), Column(name='Prime Word Classification', key='prime_word_classification'), Column(name='Summary', key='summary'), Column(name='Term Activity Type', key='term_activity_type', valid_values=['OPERATION', 'ACTION', 'TASK', 'PROCESS', 'PROJECT', 'OTHER']), Column(name='Usage', key='usage'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='GlossaryManager.find_glossary_terms', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['Question'], 'metadata_element_type': 'GlossaryTerm'})), + 'Question-DrE-Basic': FormatSet(target_type='Question', heading='Question-DrE-Basic Attributes', description='Auto-generated format for Question (Create, Basic).', family='Glossary', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Abbreviation', key='abbreviation'), Column(name='Aliases', key='aliases'), Column(name='Example', key='example'), Column(name='Folders', key='folders'), Column(name='Glossary Name', key='glossary_names'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage')])], action=ActionParameter(function='GlossaryManager.find_glossary_terms', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'include_only_classified_elements': ['Question'], 'metadata_element_type': 'GlossaryTerm'})), 'Question-Spec-DrE-Advanced': FormatSet(target_type='Question Spec', heading='Question-Spec-DrE-Advanced Attributes', description='Auto-generated format for Question Spec (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CollectionFolder', 'search_string': 'QuestionSpec', 'starts_with': True})), 'Question-Spec-DrE-Basic': FormatSet(target_type='Question Spec', heading='Question-Spec-DrE-Basic Attributes', description='Auto-generated format for Question Spec (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'CollectionFolder', 'search_string': 'QuestionSpec', 'starts_with': True})), 'Rating-DrE-Advanced': FormatSet(target_type='Rating', heading='Rating-DrE-Advanced Attributes', description='Auto-generated format for Rating (Create, Advanced).', family='Feedback', formats=[Format(types=['LIST'], attributes=[Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Stars', key='stars', valid_values=['NO_RECOMMENDATION', 'ONE_STAR', 'TWO_STARS', 'THREE_STARS', 'FOUR_STARS', 'FIVE_STARS']), Column(name='Review', key='review'), Column(name='Version Identifier', key='current_version'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Parent Relationship Type Name', key='parent_rel_type_name'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Parent at End1', key='parent_end1'), Column(name='Additional Properties', key='additional_properties'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Stars', key='stars', valid_values=['NO_RECOMMENDATION', 'ONE_STAR', 'TWO_STARS', 'THREE_STARS', 'FOUR_STARS', 'FIVE_STARS']), Column(name='Review', key='review'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category'), Column(name='Version Identifier', key='current_version'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Parent Relationship Type Name', key='parent_rel_type_name'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Parent at End1', key='parent_end1'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Additional Properties', key='additional_properties'), Column(name='URL', key='url'), Column(name='Supplementary Properties', key='supplementary_properties')])]), @@ -310,10 +310,10 @@ 'Regulation-Article-DrE-Basic': FormatSet(target_type='Regulation Article', heading='Regulation-Article-DrE-Basic Attributes', description='Auto-generated format for Regulation Article (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'RegulationArticle'})), 'Regulation-DrE-Advanced': FormatSet(target_type='Regulation', heading='Regulation-DrE-Advanced Attributes', description='Auto-generated format for Regulation (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Regulation Source', key='regulation_source'), Column(name='Regulators', key='regulators'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Regulation Source', key='regulation_source'), Column(name='Regulators', key='regulators')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Regulation'})), 'Regulation-DrE-Basic': FormatSet(target_type='Regulation', heading='Regulation-DrE-Basic Attributes', description='Auto-generated format for Regulation (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Regulation Source', key='regulation_source'), Column(name='Regulators', key='regulators'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Regulation Source', key='regulation_source'), Column(name='Regulators', key='regulators')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Regulation'})), - 'Related-Media-DrE-Advanced': FormatSet(target_type='Related Media', heading='Related-Media-DrE-Advanced Attributes', description='Auto-generated format for Related Media (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['RelatedMedia']})), - 'Related-Media-DrE-Basic': FormatSet(target_type='Related Media', heading='Related-Media-DrE-Basic Attributes', description='Auto-generated format for Related Media (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_types': ['RelatedMedia']})), - 'Report-DrE-Advanced': FormatSet(target_type='Report', heading='Report-DrE-Advanced Attributes', description='Auto-generated format for Report (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='AsOfTime', key='as_of_time'), Column(name='Ends With', key='ends_with'), Column(name='Governance Zone Filter', key='governance_zone_filter'), Column(name='Graph Query Depth', key='graph_query_depth'), Column(name='Ignore Case', key='ignore_case'), Column(name='Include Only Classified Elements', key='include_only_classified_elements'), Column(name='Include Only Relationships', key='include_only_relationships'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Order Property Name', key='order_property_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Output Sort Order', key='sort_order', valid_values=['ANY', 'CREATION_DATE_RECENT', 'CREATION_DATA_OLDEST', 'LAST_UPDATE_RECENT', 'LAST_UPDATE_OLDEST', 'PROPERTY_ASCENDING', 'PROPERTY_DESCENDING']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Skip Classified Elements', key='skip_classified_elements'), Column(name='Skip Relationships', key='skip_relationships'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Limit Result by Status', key='limit_result_by_status', valid_values=['UNKNOWN', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'APPROVED_CONCEPT', 'UNDER_DEVELOPMENT', 'DEVELOPMENT_COMPLETE', 'APPROVED_FOR_DEPLOYMENT', 'STANDBY', 'ACTIVE', 'FAILED', 'DISABLED', 'COMPLETE', 'DEPRECATED', 'OTHER', 'DELETED']), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='AsOfTime', key='as_of_time'), Column(name='Ends With', key='ends_with'), Column(name='Governance Zone Filter', key='governance_zone_filter'), Column(name='Graph Query Depth', key='graph_query_depth'), Column(name='Ignore Case', key='ignore_case'), Column(name='Include Only Classified Elements', key='include_only_classified_elements'), Column(name='Include Only Relationships', key='include_only_relationships'), Column(name='Limit Result by Status', key='limit_result_by_status', valid_values=['UNKNOWN', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'APPROVED_CONCEPT', 'UNDER_DEVELOPMENT', 'DEVELOPMENT_COMPLETE', 'APPROVED_FOR_DEPLOYMENT', 'STANDBY', 'ACTIVE', 'FAILED', 'DISABLED', 'COMPLETE', 'DEPRECATED', 'OTHER', 'DELETED']), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Order Property Name', key='order_property_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Output Sort Order', key='sort_order', valid_values=['ANY', 'CREATION_DATE_RECENT', 'CREATION_DATA_OLDEST', 'LAST_UPDATE_RECENT', 'LAST_UPDATE_OLDEST', 'PROPERTY_ASCENDING', 'PROPERTY_DESCENDING']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Skip Classified Elements', key='skip_classified_elements'), Column(name='Skip Relationships', key='skip_relationships'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Report-DrE-Basic': FormatSet(target_type='Report', heading='Report-DrE-Basic Attributes', description='Auto-generated format for Report (Create, Basic).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='Ends With', key='ends_with'), Column(name='Ignore Case', key='ignore_case'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='Ends With', key='ends_with'), Column(name='Ignore Case', key='ignore_case'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Related-Media-DrE-Advanced': FormatSet(target_type='Related Media', heading='Related-Media-DrE-Advanced Attributes', description='Auto-generated format for Related Media (Create, Advanced).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'RelatedMedia'})), + 'Related-Media-DrE-Basic': FormatSet(target_type='Related Media', heading='Related-Media-DrE-Basic Attributes', description='Auto-generated format for Related Media (Create, Basic).', family='External Reference', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Attribution', key='attribution'), Column(name='Copyright', key='copyright'), Column(name='License', key='license'), Column(name='Organization', key='organization'), Column(name='Reference Abstract', key='reference_abstract'), Column(name='Reference Title', key='reference_title'), Column(name='Sources', key='reference_sources'), Column(name='Default Media Usage', key='default_media_usage', valid_values=['ICON', 'THUMBNAIL', 'ILLUSTRATION', 'USAGE_GUIDANCE', 'OTHER']), Column(name='Default Media Usage Other Id', key='default_media_usage_other_id'), Column(name='Media Type', key='media_type', valid_values=['IMAGE', 'AUDIO', 'DOCUMENT', 'VIDEO', 'OTHER']), Column(name='Media Type Other Id', key='media_type_other_id')])], action=ActionParameter(function='ExternalReferences.find_external_references', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'RelatedMedia'})), + 'Report-DrE-Advanced': FormatSet(target_type='Report', heading='Report-DrE-Advanced Attributes', description='Auto-generated format for Report (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='AsOfTime', key='as_of_time'), Column(name='Ends With', key='ends_with'), Column(name='Governance Zone Filter', key='governance_zone_filter'), Column(name='Graph Query Depth', key='graph_query_depth'), Column(name='Ignore Case', key='ignore_case'), Column(name='Include Only Classified Elements', key='include_only_classified_elements'), Column(name='Include Only Relationships', key='include_only_relationships'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Order Property Name', key='order_property_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Output Sort Order', key='sort_order', valid_values=['ANY', 'CREATION_DATE_RECENT', 'CREATION_DATA_OLDEST', 'LAST_UPDATE_RECENT', 'LAST_UPDATE_OLDEST', 'PROPERTY_ASCENDING', 'PROPERTY_DESCENDING']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Skip Classified Elements', key='skip_classified_elements'), Column(name='Skip Relationships', key='skip_relationships'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Limit Result by Status', key='limit_result_by_status', valid_values=['UNKNOWN', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'APPROVED_CONCEPT', 'UNDER_DEVELOPMENT', 'DEVELOPMENT_COMPLETE', 'APPROVED_FOR_DEPLOYMENT', 'STANDBY', 'ACTIVE', 'FAILED', 'DISABLED', 'COMPLETE', 'DEPRECATED', 'OTHER', 'DELETED']), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='AsOfTime', key='as_of_time'), Column(name='Ends With', key='ends_with'), Column(name='Governance Zone Filter', key='governance_zone_filter'), Column(name='Graph Query Depth', key='graph_query_depth'), Column(name='Ignore Case', key='ignore_case'), Column(name='Include Only Classified Elements', key='include_only_classified_elements'), Column(name='Include Only Relationships', key='include_only_relationships'), Column(name='Limit Result by Status', key='limit_result_by_status', valid_values=['UNKNOWN', 'DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'APPROVED_CONCEPT', 'UNDER_DEVELOPMENT', 'DEVELOPMENT_COMPLETE', 'APPROVED_FOR_DEPLOYMENT', 'STANDBY', 'ACTIVE', 'FAILED', 'DISABLED', 'COMPLETE', 'DEPRECATED', 'OTHER', 'DELETED']), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Order Property Name', key='order_property_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Output Sort Order', key='sort_order', valid_values=['ANY', 'CREATION_DATE_RECENT', 'CREATION_DATA_OLDEST', 'LAST_UPDATE_RECENT', 'LAST_UPDATE_OLDEST', 'PROPERTY_ASCENDING', 'PROPERTY_DESCENDING']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Skip Classified Elements', key='skip_classified_elements'), Column(name='Skip Relationships', key='skip_relationships'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Report', 'property_names': ['displayName', 'qualifiedName']})), + 'Report-DrE-Basic': FormatSet(target_type='Report', heading='Report-DrE-Basic Attributes', description='Auto-generated format for Report (Create, Basic).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='Ends With', key='ends_with'), Column(name='Ignore Case', key='ignore_case'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Analytic Parameters', key='analytic_parameters'), Column(name='Ends With', key='ends_with'), Column(name='Ignore Case', key='ignore_case'), Column(name='Metadata Element Subtype Names', key='metadata_element_subtype_names'), Column(name='Metadata Element Type Name', key='metadata_element_type_name'), Column(name='Output Format', key='output_format', valid_values=['BAR', 'DICT', 'FORM', 'GRAPH', 'HTML', 'JSON', 'KPI', 'LIST', 'MD', 'MERMAID', 'PIE', 'REPORT', 'REPORT-GRAPH', 'SERIES', 'TABLE']), Column(name='Page Size', key='page_size'), Column(name='Report Parameters', key='report_parameters'), Column(name='Report Spec', key='report_spec'), Column(name='Search String', key='search_string'), Column(name='Start From', key='start_from'), Column(name='Starts With', key='starts_with')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Report', 'property_names': ['displayName', 'qualifiedName']})), 'Report-Spec-DrE-Advanced': FormatSet(target_type='Report Spec', heading='Report-Spec-DrE-Advanced Attributes', description='Auto-generated format for Report Spec (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Microflow', key='microflow'), Column(name='Target Type Name', key='target_type_name'), Column(name='Aliases', key='aliases'), Column(name='Output Types', key='output_types'), Column(name='Include Preamble', key='include_preamble'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='Microflow', key='microflow'), Column(name='Target Type Name', key='target_type_name'), Column(name='Aliases', key='aliases'), Column(name='Output Types', key='output_types'), Column(name='Include Preamble', key='include_preamble'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ReportSpec'})), 'Report-Spec-DrE-Basic': FormatSet(target_type='Report Spec', heading='Report-Spec-DrE-Basic Attributes', description='Auto-generated format for Report Spec (Create, Basic).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Microflow', key='microflow'), Column(name='Target Type Name', key='target_type_name'), Column(name='Aliases', key='aliases'), Column(name='Output Types', key='output_types'), Column(name='Include Preamble', key='include_preamble'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose'), Column(name='Microflow', key='microflow'), Column(name='Target Type Name', key='target_type_name'), Column(name='Aliases', key='aliases'), Column(name='Output Types', key='output_types'), Column(name='Include Preamble', key='include_preamble')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ReportSpec'})), 'Report-Type-DrE-Advanced': FormatSet(target_type='Report Type', heading='Report-Type-DrE-Advanced Attributes', description='Auto-generated format for Report Type (Create, Advanced).', family='Data Designer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Last Modifier', key='last_modifier'), Column(name='Last Modified Time', key='last_modified_time'), Column(name='Created Time', key='created_time'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='Last Modifier', key='last_modifier'), Column(name='Last Modified Time', key='last_modified_time'), Column(name='Created Time', key='created_time'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'ReportType'})), @@ -326,18 +326,18 @@ 'Risk-DrE-Basic': FormatSet(target_type='Risk', heading='Risk-DrE-Basic Attributes', description='Auto-generated format for Risk (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Risk'})), 'Root-Collection-DrE-Advanced': FormatSet(target_type='Root Collection', heading='Root-Collection-DrE-Advanced Attributes', description='Auto-generated format for Root Collection (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'RootCollection'})), 'Root-Collection-DrE-Basic': FormatSet(target_type='Root Collection', heading='Root-Collection-DrE-Basic Attributes', description='Auto-generated format for Root Collection (Create, Basic).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Purpose', key='purpose')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'RootCollection'})), - 'Saved-Query-DrE-Advanced': FormatSet(target_type='Saved Query', heading='Saved-Query-DrE-Advanced Attributes', description='Auto-generated format for Saved Query (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Saved-Query-DrE-Basic': FormatSet(target_type='Saved Query', heading='Saved-Query-DrE-Basic Attributes', description='Auto-generated format for Saved Query (Create, Basic).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Attribute-DrE-Advanced': FormatSet(target_type='Schema Attribute', heading='Schema-Attribute-DrE-Advanced Attributes', description='Auto-generated format for Schema Attribute (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='GUID', key='guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Attribute-DrE-Basic': FormatSet(target_type='Schema Attribute', heading='Schema-Attribute-DrE-Basic Attributes', description='Auto-generated format for Schema Attribute (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Attribute-From-Template-DrE-Advanced': FormatSet(target_type='Schema Attribute From Template', heading='Schema-Attribute-From-Template-DrE-Advanced Attributes', description='Auto-generated format for Schema Attribute From Template (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Attribute-From-Template-DrE-Basic': FormatSet(target_type='Schema Attribute From Template', heading='Schema-Attribute-From-Template-DrE-Basic Attributes', description='Auto-generated format for Schema Attribute From Template (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Type-DrE-Advanced': FormatSet(target_type='Schema Type', heading='Schema-Type-DrE-Advanced Attributes', description='Auto-generated format for Schema Type (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Namespace', key='namespace'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Namespace', key='namespace'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='GUID', key='guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Type-DrE-Basic': FormatSet(target_type='Schema Type', heading='Schema-Type-DrE-Basic Attributes', description='Auto-generated format for Schema Type (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Type-From-Template-DrE-Advanced': FormatSet(target_type='Schema Type From Template', heading='Schema-Type-From-Template-DrE-Advanced Attributes', description='Auto-generated format for Schema Type From Template (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Schema-Type-From-Template-DrE-Basic': FormatSet(target_type='Schema Type From Template', heading='Schema-Type-From-Template-DrE-Basic Attributes', description='Auto-generated format for Schema Type From Template (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Secrets-Store-Element-DrE-Advanced': FormatSet(target_type='Secrets Store Element', heading='Secrets-Store-Element-DrE-Advanced Attributes', description='Auto-generated format for Secrets Store Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'Secrets-Store-Element-DrE-Basic': FormatSet(target_type='Secrets Store Element', heading='Secrets-Store-Element-DrE-Basic Attributes', description='Auto-generated format for Secrets Store Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'Saved-Query-DrE-Advanced': FormatSet(target_type='Saved Query', heading='Saved-Query-DrE-Advanced Attributes', description='Auto-generated format for Saved Query (Create, Advanced).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Source', key='source'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SavedQuery', 'property_names': ['displayName', 'qualifiedName']})), + 'Saved-Query-DrE-Basic': FormatSet(target_type='Saved Query', heading='Saved-Query-DrE-Basic Attributes', description='Auto-generated format for Saved Query (Create, Basic).', family='Views & Reports', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body'), Column(name='Version Identifier', key='version_identifier'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_impl_type'), Column(name='Namespace Path', key='namespace_path'), Column(name='Resource Name', key='resource_name'), Column(name='Query URL', key='query_url'), Column(name='Query Request Body', key='query_request_body')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SavedQuery', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Attribute-DrE-Advanced': FormatSet(target_type='Schema Attribute', heading='Schema-Attribute-DrE-Advanced Attributes', description='Auto-generated format for Schema Attribute (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='GUID', key='guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaAttribute', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Attribute-DrE-Basic': FormatSet(target_type='Schema Attribute', heading='Schema-Attribute-DrE-Basic Attributes', description='Auto-generated format for Schema Attribute (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Element Position', key='element_position'), Column(name='Min Cardinality', key='min_cardinality'), Column(name='Max Cardinality', key='max_cardinality'), Column(name='Allows Duplicate Values', key='allows_duplicate_values'), Column(name='Is Ordered Values', key='is_ordered_values'), Column(name='Default Value Override', key='default_value_override'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaAttribute', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Attribute-From-Template-DrE-Advanced': FormatSet(target_type='Schema Attribute From Template', heading='Schema-Attribute-From-Template-DrE-Advanced Attributes', description='Auto-generated format for Schema Attribute From Template (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaAttribute', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Attribute-From-Template-DrE-Basic': FormatSet(target_type='Schema Attribute From Template', heading='Schema-Attribute-From-Template-DrE-Basic Attributes', description='Auto-generated format for Schema Attribute From Template (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaAttribute', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Type-DrE-Advanced': FormatSet(target_type='Schema Type', heading='Schema-Type-DrE-Advanced Attributes', description='Auto-generated format for Schema Type (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Namespace', key='namespace'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Additional Properties', key='additional_properties'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Effective From', key='effective_from'), Column(name='Effective To', key='effective_to'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Namespace', key='namespace'), Column(name='Status', key='element_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Identifier', key='identifier'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='GUID', key='guid'), Column(name='Effective Time', key='effective_time'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaType', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Type-DrE-Basic': FormatSet(target_type='Schema Type', heading='Schema-Type-DrE-Basic Attributes', description='Auto-generated format for Schema Type (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Usage', key='usage'), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Identifier', key='identifier'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='Description', key='description'), Column(name='Category', key='category'), Column(name='Version Identifier', key='version_identifier'), Column(name='URL', key='url'), Column(name='Usage', key='usage'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Authors', key='authors'), Column(name='Initial Classifications', key='initial_classifications'), Column(name='Is Deprecated', key='is_deprecated'), Column(name='Author', key='author'), Column(name='Encoding Standard', key='encoding_standard'), Column(name='Identifier', key='identifier'), Column(name='GUID', key='guid')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaType', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Type-From-Template-DrE-Advanced': FormatSet(target_type='Schema Type From Template', heading='Schema-Type-From-Template-DrE-Advanced Attributes', description='Auto-generated format for Schema Type From Template (Create, Advanced).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaType', 'property_names': ['displayName', 'qualifiedName']})), + 'Schema-Type-From-Template-DrE-Basic': FormatSet(target_type='Schema Type From Template', heading='Schema-Type-From-Template-DrE-Basic Attributes', description='Auto-generated format for Schema Type From Template (Create, Basic).', family='Schema Maker', formats=[Format(types=['LIST'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')]), Format(types=['ALL'], attributes=[Column(name='Template GUID', key='template_guid'), Column(name='Placeholder Property Values', key='placeholder_property_values'), Column(name='Template Properties', key='template_properties')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SchemaType', 'property_names': ['displayName', 'qualifiedName']})), + 'Secrets-Store-Element-DrE-Advanced': FormatSet(target_type='Secrets Store Element', heading='Secrets-Store-Element-DrE-Advanced Attributes', description='Auto-generated format for Secrets Store Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SecretsCollection', 'property_names': ['displayName', 'qualifiedName']})), + 'Secrets-Store-Element-DrE-Basic': FormatSet(target_type='Secrets Store Element', heading='Secrets-Store-Element-DrE-Basic Attributes', description='Auto-generated format for Secrets Store Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='File Path Name', key='file_path_name'), Column(name='File Name', key='file_name'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='File System Name', key='file_system_name'), Column(name='File Type', key='file_type'), Column(name='File Extension', key='file_extension'), Column(name='File Encoding', key='file_encoding')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SecretsCollection', 'property_names': ['displayName', 'qualifiedName']})), 'Security-Access-Control-DrE-Advanced': FormatSet(target_type='Security Access Control', heading='Security-Access-Control-DrE-Advanced Attributes', description='Auto-generated format for Security Access Control (Create, Advanced).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SecurityAccessControl'})), 'Security-Access-Control-DrE-Basic': FormatSet(target_type='Security Access Control', heading='Security-Access-Control-DrE-Basic Attributes', description='Auto-generated format for Security Access Control (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Implementation Description', key='implementation_description')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'SecurityAccessControl'})), 'Security-Finding-DrE-Advanced': FormatSet(target_type='Security Finding', heading='Security-Finding-DrE-Advanced Attributes', description='Auto-generated format for Security Finding (Create, Advanced).', family='Security Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='CVSS Vector', key='cvss_vector'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Vulnerability Type', key='vulnerability_type'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='CVSS Vector', key='cvss_vector'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Vulnerability Type', key='vulnerability_type'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])]), @@ -386,18 +386,18 @@ 'Threat-DrE-Basic': FormatSet(target_type='Threat', heading='Threat-DrE-Basic Attributes', description='Auto-generated format for Threat (Create, Basic).', family='Governance Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Domain Identifier', key='domain_identifier', valid_values=['All Domains', 'Data', 'Privacy', 'Security', 'IT Infrastructure', 'Software Development', 'Corporate', 'Asset Management', 'Other']), Column(name='Implications', key='implications'), Column(name='Importance', key='importance'), Column(name='Outcomes', key='outcomes'), Column(name='Results', key='results'), Column(name='Scope', key='scope'), Column(name='Summary', key='summary'), Column(name='Usage', key='usage')])], action=ActionParameter(function='GovernanceOfficer.find_governance_definitions', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'Threat'})), 'ToDo-DrE-Advanced': FormatSet(target_type='ToDo', heading='ToDo-DrE-Advanced Attributes', description='Auto-generated format for ToDo (Create, Advanced).', family='Actor Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Description', key='description'), Column(name='Situation', key='situation'), Column(name='Objective', key='objective'), Column(name='Priority', key='priority'), Column(name='Activity Status', key='activity_status', valid_values=['REQUESTED', 'APPROVED', 'WAITING', 'ACTIVATING', 'IN_PROGRESS', 'PAUSED', 'COMPLETED', 'INVALID', 'IGNORED', 'FAILED', 'CANCELLED', 'ABANDONED', 'OTHER'])]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Display Name', key='display_name'), Column(name='Description', key='description'), Column(name='Situation', key='situation'), Column(name='Objective', key='objective'), Column(name='Priority', key='priority'), Column(name='Activity Status', key='activity_status', valid_values=['REQUESTED', 'APPROVED', 'WAITING', 'ACTIVATING', 'IN_PROGRESS', 'PAUSED', 'COMPLETED', 'INVALID', 'IGNORED', 'FAILED', 'CANCELLED', 'ABANDONED', 'OTHER'])])]), 'ToDo-DrE-Basic': FormatSet(target_type='ToDo', heading='ToDo-DrE-Basic Attributes', description='Auto-generated format for ToDo (Create, Basic).', family='Actor Manager', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Description', key='description'), Column(name='Situation', key='situation'), Column(name='Objective', key='objective'), Column(name='Priority', key='priority'), Column(name='Activity Status', key='activity_status', valid_values=['REQUESTED', 'APPROVED', 'WAITING', 'ACTIVATING', 'IN_PROGRESS', 'PAUSED', 'COMPLETED', 'INVALID', 'IGNORED', 'FAILED', 'CANCELLED', 'ABANDONED', 'OTHER'])]), Format(types=['ALL'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Description', key='description'), Column(name='Situation', key='situation'), Column(name='Objective', key='objective'), Column(name='Priority', key='priority'), Column(name='Activity Status', key='activity_status', valid_values=['REQUESTED', 'APPROVED', 'WAITING', 'ACTIVATING', 'IN_PROGRESS', 'PAUSED', 'COMPLETED', 'INVALID', 'IGNORED', 'FAILED', 'CANCELLED', 'ABANDONED', 'OTHER'])])]), - 'UC-Catalog-Element-DrE-Advanced': FormatSet(target_type='UC Catalog Element', heading='UC-Catalog-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Catalog Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Catalog-Element-DrE-Basic': FormatSet(target_type='UC Catalog Element', heading='UC-Catalog-Element-DrE-Basic Attributes', description='Auto-generated format for UC Catalog Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Function-Element-DrE-Advanced': FormatSet(target_type='UC Function Element', heading='UC-Function-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Function Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Function-Element-DrE-Basic': FormatSet(target_type='UC Function Element', heading='UC-Function-Element-DrE-Basic Attributes', description='Auto-generated format for UC Function Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Schema-Element-DrE-Advanced': FormatSet(target_type='UC Schema Element', heading='UC-Schema-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Schema Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Schema-Element-DrE-Basic': FormatSet(target_type='UC Schema Element', heading='UC-Schema-Element-DrE-Basic Attributes', description='Auto-generated format for UC Schema Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Server-Element-DrE-Advanced': FormatSet(target_type='UC Server Element', heading='UC-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Server-Element-DrE-Basic': FormatSet(target_type='UC Server Element', heading='UC-Server-Element-DrE-Basic Attributes', description='Auto-generated format for UC Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Table-Element-DrE-Advanced': FormatSet(target_type='UC Table Element', heading='UC-Table-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Table Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Table-Element-DrE-Basic': FormatSet(target_type='UC Table Element', heading='UC-Table-Element-DrE-Basic Attributes', description='Auto-generated format for UC Table Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Volume-Element-DrE-Advanced': FormatSet(target_type='UC Volume Element', heading='UC-Volume-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Volume Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), - 'UC-Volume-Element-DrE-Basic': FormatSet(target_type='UC Volume Element', heading='UC-Volume-Element-DrE-Basic Attributes', description='Auto-generated format for UC Volume Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier')])], action=ActionParameter(function='MetadataExpert.find_metadata_elements_with_string', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'])), + 'UC-Catalog-Element-DrE-Advanced': FormatSet(target_type='UC Catalog Element', heading='UC-Catalog-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Catalog Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Catalog', 'metadata_element_type': 'SoftwareCapability', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Catalog-Element-DrE-Basic': FormatSet(target_type='UC Catalog Element', heading='UC-Catalog-Element-DrE-Basic Attributes', description='Auto-generated format for UC Catalog Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Catalog', 'metadata_element_type': 'SoftwareCapability', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Function-Element-DrE-Advanced': FormatSet(target_type='UC Function Element', heading='UC-Function-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Function Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Function', 'metadata_element_type': 'DeployedAPI', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Function-Element-DrE-Basic': FormatSet(target_type='UC Function Element', heading='UC-Function-Element-DrE-Basic Attributes', description='Auto-generated format for UC Function Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Function Name', key='uc_function'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Function', 'metadata_element_type': 'DeployedAPI', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Schema-Element-DrE-Advanced': FormatSet(target_type='UC Schema Element', heading='UC-Schema-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Schema Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Schema', 'metadata_element_type': 'DeployedDatabaseSchema', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Schema-Element-DrE-Basic': FormatSet(target_type='UC Schema Element', heading='UC-Schema-Element-DrE-Basic Attributes', description='Auto-generated format for UC Schema Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Schema', 'metadata_element_type': 'DeployedDatabaseSchema', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Server-Element-DrE-Advanced': FormatSet(target_type='UC Server Element', heading='UC-Server-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Server Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Server-Element-DrE-Basic': FormatSet(target_type='UC Server Element', heading='UC-Server-Element-DrE-Basic Attributes', description='Auto-generated format for UC Server Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Server Name', key='uc_server_name'), Column(name='Host URL', key='host_url'), Column(name='Port', key='port'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Server', 'metadata_element_type': 'SoftwareServer', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Table-Element-DrE-Advanced': FormatSet(target_type='UC Table Element', heading='UC-Table-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Table Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Table', 'metadata_element_type': 'RelationalTable', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Table-Element-DrE-Basic': FormatSet(target_type='UC Table Element', heading='UC-Table-Element-DrE-Basic Attributes', description='Auto-generated format for UC Table Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Table Name', key='uc_table'), Column(name='UC Table Type', key='uc_table_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='UC Data Source Format', key='uc_data_source_format', valid_values=['DELTA', 'CSV', 'JSON', 'AVRO', 'PARQUET', 'ORC', 'TEXT']), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Table', 'metadata_element_type': 'RelationalTable', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Volume-Element-DrE-Advanced': FormatSet(target_type='UC Volume Element', heading='UC-Volume-Element-DrE-Advanced Attributes', description='Auto-generated format for UC Volume Element (Create, Advanced).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Volume', 'metadata_element_type': 'StorageVolume', 'property_names': ['displayName', 'qualifiedName']})), + 'UC-Volume-Element-DrE-Basic': FormatSet(target_type='UC Volume Element', heading='UC-Volume-Element-DrE-Basic Attributes', description='Auto-generated format for UC Volume Element (Create, Basic).', family='Asset Maker', formats=[Format(types=['LIST'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Deployed Implementation Type', key='deployed_implementation_type'), Column(name='Version Identifier', key='version_identifier')]), Format(types=['ALL'], attributes=[Column(name='UC Catalog Name', key='uc_catalog'), Column(name='UC Schema Name', key='uc_schema'), Column(name='UC Volume Name', key='uc_volume'), Column(name='UC Volume Type', key='uc_vol_type', valid_values=['Managed', 'External']), Column(name='UC Storage Location', key='uc_storage_loc'), Column(name='Network Address', key='network_address'), Column(name='Description', key='description'), Column(name='Version Identifier', key='version_identifier'), Column(name='Deployed Implementation Type', key='deployed_implementation_type')])], action=ActionParameter(function='ClassificationExplorer.find_elements_by_property_value', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type', 'deployed_implementation_type'], spec_params={'default_deployed_implementation_type': 'Unity Catalog Volume', 'metadata_element_type': 'StorageVolume', 'property_names': ['displayName', 'qualifiedName']})), 'Vulnerability-Finding-DrE-Advanced': FormatSet(target_type='Vulnerability Finding', heading='Vulnerability-Finding-DrE-Advanced Attributes', description='Auto-generated format for Vulnerability Finding (Create, Advanced).', family='Security Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='CVSS Vector', key='cvss_vector'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Vulnerability Type', key='vulnerability_type'), Column(name='Package URL', key='package_url'), Column(name='Installed Version', key='installed_version'), Column(name='Fixed Version', key='fixed_version'), Column(name='Patch Available', key='patch_available'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='CVSS Vector', key='cvss_vector'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Vulnerability Type', key='vulnerability_type'), Column(name='Package URL', key='package_url'), Column(name='Installed Version', key='installed_version'), Column(name='Fixed Version', key='fixed_version'), Column(name='Patch Available', key='patch_available'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])]), 'Vulnerability-Finding-DrE-Basic': FormatSet(target_type='Vulnerability Finding', heading='Vulnerability-Finding-DrE-Basic Attributes', description='Auto-generated format for Vulnerability Finding (Create, Basic).', family='Security Officer', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Description', key='description'), Column(name='Legal', key='legal'), Column(name='Authors', key='authors'), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Package URL', key='package_url'), Column(name='Installed Version', key='installed_version'), Column(name='Fixed Version', key='fixed_version'), Column(name='Patch Available', key='patch_available'), Column(name='Version Identifier', key='version_identifier'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Category', key='category'), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Legal', key='legal'), Column(name='Qualified Name', key='qualified_name'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='Survey Report', key='survey_report'), Column(name='Summary', key='summary'), Column(name='Severity', key='severity', valid_values=['None', 'Low', 'Medium', 'High', 'Critical']), Column(name='CVSS Score', key='cvss_score'), Column(name='Vulnerability Identifiers', key='vulnerability_identifiers'), Column(name='Weakness Identifiers', key='weakness_identifiers'), Column(name='Affected Location', key='affected_location'), Column(name='Evidence', key='evidence'), Column(name='Remediation', key='remediation'), Column(name='Exploit Available', key='exploit_available'), Column(name='Affected Elements', key='affected_elements'), Column(name='Previous Finding', key='previous_finding'), Column(name='Package URL', key='package_url'), Column(name='Installed Version', key='installed_version'), Column(name='Fixed Version', key='fixed_version'), Column(name='Patch Available', key='patch_available')])]), 'Work-Item-List-DrE-Advanced': FormatSet(target_type='Work Item List', heading='Work-Item-List-DrE-Advanced Attributes', description='Auto-generated format for Work Item List (Create, Advanced).', family='Collections', formats=[Format(types=['LIST'], attributes=[Column(name='Display Name', key='display_name'), Column(name='Qualified Name', key='qualified_name'), Column(name='GUID', key='guid'), Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='Authors', key='authors'), Column(name='Purpose', key='purpose'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties'), Column(name='Version Identifier', key='version_identifier'), Column(name='Status', key='status'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Category', key='category')]), Format(types=['ALL'], attributes=[Column(name='Effective From', key='effective_from'), Column(name='Effective Time', key='effective_time'), Column(name='Effective To', key='effective_to'), Column(name='Glossary Term', key='glossary_term'), Column(name='Is Own Anchor', key='is_own_anchor'), Column(name='Status', key='status'), Column(name='Zone Membership', key='zone_membership'), Column(name='Additional Properties', key='additional_properties'), Column(name='Category', key='category'), Column(name='Confidence Classification', key='confidence_classification', valid_values=['UNCLASSIFIED', 'AD_HOC', 'TRANSACTIONAL', 'AUTHORITATIVE', 'DERIVED', 'OBSOLETE', 'OTHER']), Column(name='Confidentiality Classification', key='confidentiality_classification', valid_values=['UNCLASSIFIED', 'INTERNAL', 'CONFIDENTIAL', 'SENSITIVE', 'RESTRICTED', 'OTHER']), Column(name='Criticality Classification', key='criticality_classification', valid_values=['UNCLASSIFIED', 'MARGINAL', 'IMPORTANT', 'CRITICAL', 'CATASTROPHIC', 'OTHER']), Column(name='Description', key='description'), Column(name='Display Name', key='display_name'), Column(name='GUID', key='guid'), Column(name='Identifier', key='identifier'), Column(name='Impact Classification', key='impact_classification', valid_values=['UNCLASSIFIED', 'LOW', 'MEDIUM', 'HIGH', 'OTHER']), Column(name='Legal', key='legal'), Column(name='Policy Management Point', key='policy_management_point'), Column(name='Qualified Name', key='qualified_name'), Column(name='Retention Classification', key='retention_classification', valid_values=['UNCLASSIFIED', 'TEMPORARY', 'PROJECT_LIFETIME', 'TEAM_LIFETIME', 'CONTRACT_LIFETIME', 'REGULATED_LIFETIME', 'TIMEBOXED_LIFETIME', 'OTHER']), Column(name='Security Tags', key='security_tags'), Column(name='URL', key='url'), Column(name='Version Identifier', key='version_identifier'), Column(name='Authors', key='authors'), Column(name='Content Status', key='content_status', valid_values=['DRAFT', 'PREPARED', 'PROPOSED', 'APPROVED', 'REJECTED', 'ACTIVE', 'DEPRECATED', 'OTHER']), Column(name='User Defined Content Status', key='user_defined_content_status'), Column(name='Purpose', key='purpose'), Column(name='User Defined Status', key='user_defined_status'), Column(name='Classifications', key='classifications'), Column(name='Anchor Scope Name', key='anchor_scope_guid'), Column(name='Supplementary Properties', key='supplementary_properties')])], action=ActionParameter(function='CollectionManager.find_collections', required_params=['search_string'], optional_params=['sequencing_order', 'sequencing_property', 'page_size', 'start_from', 'starts_with', 'ends_with', 'ignore_case', 'classification_names', 'metadata_element_subtypes', 'metadata_element_type'], spec_params={'metadata_element_type': 'WorkItemList'})), diff --git a/pyegeria/view/egeria_spec_cache.py b/pyegeria/view/egeria_spec_cache.py index b6a4b972..735ac659 100644 --- a/pyegeria/view/egeria_spec_cache.py +++ b/pyegeria/view/egeria_spec_cache.py @@ -499,7 +499,7 @@ def _call(fn, *args, **kwargs): def _find_folder(client, qn: str) -> Optional[Dict[str, Any]]: - found = _call(client.get_collections_by_name, qn, metadata_element_type_name="CollectionFolder", + found = _call(client.get_collections_by_name, qn, metadata_element_type="CollectionFolder", output_format="JSON") exact = [e for e in found if _props(e).get("qualifiedName") == qn] return exact[0] if exact else None @@ -510,7 +510,7 @@ def _find_specs_by_label(client, label: str) -> List[Dict[str, Any]]: seen: Dict[str, Dict[str, Any]] = {} for name in (label, f"ReportSpec::{label}", f"ReportType::{label}"): try: - found = _call(client.get_collections_by_name, name, metadata_element_type_name="ReportSpec", + found = _call(client.get_collections_by_name, name, metadata_element_type="ReportSpec", output_format="JSON") except Exception as exc: # noqa: BLE001 -- one failing lookup must not hide the others logger.debug(f"report spec lookup by name {name!r} failed: {exc}") @@ -974,7 +974,7 @@ async def async_fetch_spec_for_call(client, name: str) -> str: seen: Dict[str, Dict[str, Any]] = {} for nm in (label, f"ReportSpec::{label}", f"ReportType::{label}"): res = _elements(await getter._async_get_collections_by_name( - nm, metadata_element_type_name="ReportSpec", output_format="JSON")) + nm, metadata_element_type="ReportSpec", output_format="JSON")) for e in res: if label_from_qualified_name(_props(e).get("qualifiedName") or "") == label and _guid(e): seen[_guid(e)] = e diff --git a/pyegeria/view/format_set_executor.py b/pyegeria/view/format_set_executor.py index 3be2cb28..abfc263e 100644 --- a/pyegeria/view/format_set_executor.py +++ b/pyegeria/view/format_set_executor.py @@ -18,7 +18,7 @@ import json import os import sys -from typing import Any, Dict, List, Optional, Tuple, Union +from typing import Any, Dict, Iterable, List, Optional, Tuple, Union from loguru import logger from pydantic import ValidationError @@ -547,7 +547,69 @@ def _to_string_list(raw_value: Any) -> Any: continue cleaned[key] = value - return cleaned + return _canonical_param_names(cleaned) + + +# Run-parameter names that are aliases or rendering options rather than parameters of the report: +# consumed under another name, so never reported as dropped. +_RUN_PARAM_ALIASES = frozenset({ + "search_string", "filter_string", "property_value", "filter", "output_format", "report_spec", + "graph_query_depth", "metadata_element_name", "limit_result_by_status", "sort_order", + "output_sort_order", "order_property_name", "anchor_scope_id", +}) + + +def _warn_dropped_params(report_name: str, params: Dict[str, Any], call_params: Dict[str, Any], + declared: Iterable[str]) -> None: + """A caller's run parameter that the report does not take is dropped; say so (P3: never silent). + + Same warning class as an unknown filter on a method call (UnknownFilterWarning), plus a log line. + """ + import warnings + from pyegeria.core.request_filters import (DEPRECATED_NAMES, LEGACY_ALIASES, RENDER_OPTIONS, + UnknownFilterWarning, _SKIP_PREFIXES) + + known = _RUN_PARAM_ALIASES | RENDER_OPTIONS | set(DEPRECATED_NAMES) | set(LEGACY_ALIASES) + dropped = sorted(k for k in (params or {}) if k not in call_params and k not in known) + if not dropped: + return + takes = ", ".join(sorted(set(declared))) or "no parameters" + msg = (f"report '{report_name}': parameter(s) {', '.join(repr(k) for k in dropped)} ignored -- " + f"not parameters of this report (it takes: {takes}). " + f"(pyegeria will raise an error for unknown parameters in a future release.)") + logger.warning(msg) + warnings.warn(msg, UnknownFilterWarning, skip_file_prefixes=_SKIP_PREFIXES) + + +def _bind_search_parameter(func: Any, call_params: Dict[str, Any]) -> Dict[str, Any]: + """Generated report specs always pass the user's text as `search_string`. A method that takes it + as `property_value` instead (ClassificationExplorer.find_elements_by_property_value) gets it + under that name.""" + try: + names = inspect.signature(func).parameters + except (TypeError, ValueError): + return call_params + if "search_string" in call_params and "search_string" not in names and "property_value" in names \ + and "property_value" not in call_params: + out = dict(call_params) + out["property_value"] = out.pop("search_string") + return out + return call_params + + +def _canonical_param_names(params: Dict[str, Any]) -> Dict[str, Any]: + """Rename deprecated filter spellings (metadata_element_type_name, ...) to the canonical + names, quietly: a report spec or Dr.Egeria parameter list is not the caller's code, so it + should not trip the methods' DeprecationWarning. A canonical value already present wins.""" + from pyegeria.core.request_filters import DEPRECATED_NAMES, _canonical_value + + out = dict(params) + for old, new in DEPRECATED_NAMES.items(): + if old in out: + value = out.pop(old) + if out.get(new) in (None, "", []): + out[new] = _canonical_value(new, value) + return out def _extract_param_value(params: Dict[str, Any], param_name: str, action_mode: str = "generic") -> Any: @@ -806,6 +868,7 @@ async def _async_run_report_impl( # Include fixed specifics call_params.update(spec_params) + call_params = _canonical_param_names(call_params) # Always include output_format and report_spec for downstream rendering call_params["output_format"] = output_format @@ -827,6 +890,9 @@ async def _async_run_report_impl( ) call_params = _merge_signature_params(func, params, call_params) + call_params = _bind_search_parameter(func, call_params) + _warn_dropped_params(report_name, params, call_params, + [*required_params, *optional_params, *spec_params]) # Only (re)create a bearer token if one is not already set on the client. try: existing_token = None @@ -1244,6 +1310,7 @@ def _exec_report_spec_impl( # Include fixed specifics call_params.update(spec_params) + call_params = _canonical_param_names(call_params) # Always include output_format and report_spec for downstream rendering call_params["output_format"] = output_format @@ -1264,6 +1331,9 @@ def _exec_report_spec_impl( ) call_params = _add_request_options(func, params, call_params) + call_params = _bind_search_parameter(func, call_params) + _warn_dropped_params(format_set_name, params, call_params, + [*required_params, *optional_params, *spec_params]) result = func(**call_params) if not result or result == NO_ELEMENTS_FOUND: @@ -1310,6 +1380,7 @@ def _exec_report_spec_impl( except ValueError as e: # Never a silent None (6.2.28): the caller gets the error and its words. logger.error(f"Report spec '{format_set_name}' ({output_format}) failed: {e}") + # Re-raised, as the async path does: a plain-words refusal must not reach the caller as "no result". raise finally: diff --git a/pyegeria/view/microflow.py b/pyegeria/view/microflow.py index ccb1e175..d63cc64b 100644 --- a/pyegeria/view/microflow.py +++ b/pyegeria/view/microflow.py @@ -64,7 +64,7 @@ #: FIND_METHOD_DENYLIST). It is the union of two named parts: #: #: - `_CENSUS_FIND_METHODS`: every find method a runnable built-in or generated spec names, taken from -#: the 437-spec census on 2026-11-09 (46 methods, every spec runnable since 6.2.28 repointed +#: the 437-spec census on 2026-11-09 (47 methods, every spec runnable since 6.2.28 repointed #: Asset-Graph and Data-Classes). The micro-test `test_every_runnable_builtin_spec_function_is_on_the_allowlist` #: fails when a built-in or generated spec names one that is missing, so the stage-2 seed (today's #: built-ins written into Egeria) can never be refused. @@ -80,6 +80,7 @@ "ActorManager.find_user_identities", "AssetCatalog.get_asset_graph_by_guid", "AssetMaker.find_assets", + "ClassificationExplorer.find_elements_by_property_value", # the 40 generic-search DrE specs (6.2.28) "ClassificationExplorer.get_elements", "ClassificationExplorer.get_owners_elements", "CollectionManager.find_collections", @@ -121,9 +122,14 @@ "reference_data.find_valid_value_definitions", }) -#: Reviewed additions: find methods no built-in spec names yet. Empty in 6.2.28; add an entry only -#: after reading the method (it must only read), and give the reason in a comment beside it. -FIND_METHOD_ADDITIONS: frozenset = frozenset() +#: Reviewed additions: find methods no built-in spec names yet. Add an entry only after reading the +#: method (it must only read), and give the reason in a comment beside it. +FIND_METHOD_ADDITIONS: frozenset = frozenset({ + # Read only: POSTs a FindRequestBody to .../elements/by-complex-query and returns the elements. + # find_elements_by_property_value calls it for the technology specs (deployedImplementationType + # EQ the technology AND the name match, evaluated by Egeria in one query). + "ClassificationExplorer.find_root_elements", +}) FIND_METHOD_ALLOWLIST: frozenset = _CENSUS_FIND_METHODS | FIND_METHOD_ADDITIONS diff --git a/sample-data/templates/advanced/Schema Maker/Create_Display_Data_Container.md b/sample-data/templates/advanced/Schema Maker/Create_Display_Data_Container.md index 9848ebaa..8f733739 100644 --- a/sample-data/templates/advanced/Schema Maker/Create_Display_Data_Container.md +++ b/sample-data/templates/advanced/Schema Maker/Create_Display_Data_Container.md @@ -170,6 +170,8 @@ ___ > **Description**: The type of renderer used to display this container. Validated against Egeria's valid metadata values for renderer. +> **Valid Values**: FORM; REPORT; MERMAID; BAR; REPORT-GRAPH; HTML; PIE; SERIES; JSON; LIST; MD; DICT; KPI; TABLE; GRAPH + ### Placement Kind > **Input Required**: False diff --git a/sample-data/templates/advanced/Views & Reports/Create_Dashboard.md b/sample-data/templates/advanced/Views & Reports/Create_Dashboard.md index df6411cb..6a62c585 100644 --- a/sample-data/templates/advanced/Views & Reports/Create_Dashboard.md +++ b/sample-data/templates/advanced/Views & Reports/Create_Dashboard.md @@ -144,6 +144,8 @@ ___ > **Description**: The style of layout used to arrange the reports in a dashboard. Validated against Egeria's valid metadata values for layoutStyle. +> **Valid Values**: tabs; single-column; grid + ### Effective From > **Input Required**: False diff --git a/sample-data/templates/basic/Schema Maker/Create_Display_Data_Container.md b/sample-data/templates/basic/Schema Maker/Create_Display_Data_Container.md index af403fb5..f4bde024 100644 --- a/sample-data/templates/basic/Schema Maker/Create_Display_Data_Container.md +++ b/sample-data/templates/basic/Schema Maker/Create_Display_Data_Container.md @@ -170,6 +170,8 @@ ___ > **Description**: The type of renderer used to display this container. Validated against Egeria's valid metadata values for renderer. +> **Valid Values**: FORM; REPORT; MERMAID; BAR; REPORT-GRAPH; HTML; PIE; SERIES; JSON; LIST; MD; DICT; KPI; TABLE; GRAPH + ### Placement Kind > **Input Required**: False diff --git a/sample-data/templates/basic/Views & Reports/Create_Dashboard.md b/sample-data/templates/basic/Views & Reports/Create_Dashboard.md index b58c8fd8..a96f49f8 100644 --- a/sample-data/templates/basic/Views & Reports/Create_Dashboard.md +++ b/sample-data/templates/basic/Views & Reports/Create_Dashboard.md @@ -144,5 +144,7 @@ ___ > **Description**: The style of layout used to arrange the reports in a dashboard. Validated against Egeria's valid metadata values for layoutStyle. +> **Valid Values**: tabs; single-column; grid + ___ diff --git a/tests/micro-tests/test_issue_131_133.py b/tests/micro-tests/test_issue_131_133.py index 3c057644..4a82d8e1 100644 --- a/tests/micro-tests/test_issue_131_133.py +++ b/tests/micro-tests/test_issue_131_133.py @@ -59,10 +59,15 @@ async def fake_make_request(method, url, payload=None, *args, **kwargs): @pytest.mark.asyncio @pytest.mark.parametrize("cls, method", BY_NAME_WRAPPERS) -async def test_by_name_wrappers_send_the_type_filter(cls, method, monkeypatch): +@pytest.mark.parametrize("spelling", ["metadata_element_type", "metadata_element_type_name"]) +async def test_by_name_wrappers_send_the_type_filter(cls, method, spelling, monkeypatch): client, calls = _capture(cls, monkeypatch) - await getattr(client, method)("x", metadata_element_type_name="ProbeType") + if spelling == "metadata_element_type": + await getattr(client, method)("x", metadata_element_type="ProbeType") + else: # deprecated in 6.2.28, still works + with pytest.warns(DeprecationWarning, match="use 'metadata_element_type'"): + await getattr(client, method)("x", metadata_element_type_name="ProbeType") assert calls[0]["body"]["metadataElementTypeName"] == "ProbeType" @@ -78,14 +83,16 @@ async def test_name_request_accepts_the_find_request_spelling(monkeypatch): @pytest.mark.asyncio -async def test_name_request_prefers_the_canonical_spelling(monkeypatch): +async def test_name_request_refuses_two_different_type_names(monkeypatch): + # 6.2.28: metadata_element_type is the one name; metadata_element_type_name is a deprecated + # alias, and giving both with different values is refused rather than silently picking one. client, calls = _capture(CollectionManager, monkeypatch) - await client._async_get_name_request("https://localhost:1/x/by-name", _type="T", _gen_output=None, - filter_string="x", metadata_element_type_name="Canonical", - metadata_element_type="Legacy") - - assert calls[0]["body"]["metadataElementTypeName"] == "Canonical" + with pytest.warns(DeprecationWarning), pytest.raises(TypeError, match="pass only 'metadata_element_type'"): + await client._async_get_name_request("https://localhost:1/x/by-name", _type="T", _gen_output=None, + filter_string="x", metadata_element_type_name="Old", + metadata_element_type="New") + assert not calls # --- ISSUE-133 ------------------------------------------------------------------------------ diff --git a/tests/micro-tests/test_metadata_expert_report_spec_kwarg.py b/tests/micro-tests/test_metadata_expert_report_spec_kwarg.py index cb228c4c..9b776468 100644 --- a/tests/micro-tests/test_metadata_expert_report_spec_kwarg.py +++ b/tests/micro-tests/test_metadata_expert_report_spec_kwarg.py @@ -60,9 +60,11 @@ def _specs_using(method: str) -> list[str]: def test_known_failing_spec_is_covered(): - # Reproduced live 2026-11-07. Specs added later on the same function + # Reproduced live 2026-11-07 with Report-DrE-Basic. Since 6.2.28 the generic-search specs + # (Report-DrE-* among them) call ClassificationExplorer; the specs still on this function # (e.g. Dashboards) are picked up by the registry scan below. - assert "Report-DrE-Basic" in _WITH_STRING_SPECS + assert "Report-DrE-Basic" not in _WITH_STRING_SPECS + assert "Dashboard-DrE-Basic" in _WITH_STRING_SPECS @pytest.mark.parametrize("spec_name", _WITH_STRING_SPECS) @@ -76,7 +78,8 @@ def test_exec_report_spec_runs(spec_name, _offline): @pytest.mark.parametrize("method, args", [ - ("find_metadata_elements_with_string", {}), + # an untyped '*' is refused in words since 6.2.28, so give it a type + ("find_metadata_elements_with_string", {"metadata_element_type": "Report"}), ("find_elements_for_anchor", {"guid": "a1"}), ("find_elements_in_anchor_domain", {"anchor_domain": "Glossary"}), ("find_elements_in_anchor_scope", {"guid": "a1"}), diff --git a/tests/micro-tests/test_rs_egeria_tier.py b/tests/micro-tests/test_rs_egeria_tier.py index 67493bad..d52f5096 100644 --- a/tests/micro-tests/test_rs_egeria_tier.py +++ b/tests/micro-tests/test_rs_egeria_tier.py @@ -84,8 +84,8 @@ def put(self, el, *, folder=FOLDER_GUID): def remove_member(self, guid, folder=FOLDER_GUID): self.members[folder] = [m for m in self.members[folder] if m["elementHeader"]["guid"] != guid] - def get_collections_by_name(self, name, metadata_element_type_name=None, output_format="JSON", **_): - if metadata_element_type_name == "CollectionFolder": + def get_collections_by_name(self, name, metadata_element_type=None, output_format="JSON", **_): + if metadata_element_type == "CollectionFolder": f = self.folders.get(name) return [f] if f else "No elements found" hits = [e for e in self.elements.values() @@ -334,7 +334,7 @@ def test_async_twin_of_an_allowlisted_method_is_allowed(): def test_allowlist_is_the_census_plus_additions_and_never_meets_the_denylist(): assert mfm.FIND_METHOD_ALLOWLIST == mfm._CENSUS_FIND_METHODS | mfm.FIND_METHOD_ADDITIONS - assert len(mfm._CENSUS_FIND_METHODS) == 46 + assert len(mfm._CENSUS_FIND_METHODS) == 47 # +find_elements_by_property_value (generic-search specs, 6.2.28) assert not (mfm.FIND_METHOD_ALLOWLIST & mfm.FIND_METHOD_DENYLIST) denied = {e.rsplit(".", 1)[-1] for e in mfm.FIND_METHOD_DENYLIST} assert not {e.rsplit(".", 1)[-1] for e in mfm.FIND_METHOD_ALLOWLIST} & denied @@ -829,9 +829,9 @@ class AsyncFake(FakeEgeria): async def _async_get_collection_by_guid(self, guid, output_format="JSON", **k): return self.get_collection_by_guid(guid) - async def _async_get_collections_by_name(self, name, metadata_element_type_name=None, output_format="JSON", + async def _async_get_collections_by_name(self, name, metadata_element_type=None, output_format="JSON", **k): - return self.get_collections_by_name(name, metadata_element_type_name) + return self.get_collections_by_name(name, metadata_element_type) eg = AsyncFake() eg.put(spec_element()) diff --git a/tests/micro-tests/test_search_get_filter_kwargs.py b/tests/micro-tests/test_search_get_filter_kwargs.py new file mode 100644 index 00000000..7abe1e25 --- /dev/null +++ b/tests/micro-tests/test_search_get_filter_kwargs.py @@ -0,0 +1,654 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright Contributors to the ODPi Egeria project. +"""Search and get filters are universal, checked and documented (pyegeria 6.2.28). + +* every public find_*/get_* method that sends a filterable request body accepts + **kwargs and forwards it toward the shared request helper; +* the TypedDicts in pyegeria.core.request_filters, the name check and the docs page + all come from the request-body models, and cannot drift from them; +* an unknown filter name warns (UnknownFilterWarning) and a known one reaches the + request body -- including through a report spec's spec_params. +""" +from __future__ import annotations + +import json +import pathlib +import warnings + +import pytest + +from pyegeria.core import request_filters as rf +from pyegeria.core._filter_kwargs_survey import in_scope, survey +from pyegeria.core.request_filters import UnknownFilterWarning + +REPO = pathlib.Path(__file__).resolve().parents[2] + +# Methods that reach a shared helper only incidentally (a platform-GUID lookup, or an +# aggregate over another call) -- the request they are named for has no filterable body. +EXEMPT = { + "SecurityOfficer._async_get_user_account": "GET user-account; helper reached only via the platform-GUID lookup", + "SecurityOfficer.get_user_account": "as above", + "SecurityOfficer._async_get_user_list": "GET user-accounts; helper reached only via the platform-GUID lookup", + "SecurityOfficer.get_user_list": "as above", + "SecurityOfficer._async_get_security_access_control": "GET access control; helper reached only via the platform-GUID lookup", + "SecurityOfficer.get_security_access_control": "as above", + "SecurityOfficer._async_get_control_implementation_summary": "a computed summary over one statement of applicability", + "SecurityOfficer.get_control_implementation_summary": "as above", +} + + +@pytest.fixture(scope="module") +def methods(): + return in_scope(survey()) + + +# ---------------------------------------------------------------------------- part 1 + +def test_survey_finds_the_find_and_get_families(methods): + names = {m.qualname for m in methods} + assert "DataDesigner.find_data_value_specifications" in names + assert "DataDesigner.find_all_data_structures" in names + assert "DataDesigner.find_all_data_fields" in names + assert "CollectionManager.find_digital_products" in names + assert "MetadataExpert.find_metadata_elements" in names + assert len(methods) > 450 + + +def test_every_find_and_get_method_accepts_and_forwards_kwargs(methods): + missing = [m.qualname for m in methods + if m.qualname not in EXEMPT and not (m.kwargs_name and m.passes_kwargs())] + assert not missing, ( + "These find_*/get_* methods send a filterable request but do not accept **kwargs " + "or do not pass it on toward the shared request helper:\n " + "\n ".join(sorted(missing))) + + +def test_exemptions_are_still_needed(methods): + by_name = {m.qualname: m for m in methods} + stale = [q for q in EXEMPT if q not in by_name or (by_name[q].kwargs_name and by_name[q].passes_kwargs())] + assert not stale, f"remove from EXEMPT: {stale}" + + +def test_unpack_annotation_matches_the_request_kind(methods): + """Annotated methods name the right TypedDict; un-annotated ones have a PEP 692 overlap reason.""" + wrong, unexplained = [], [] + for m in methods: + if m.qualname in EXEMPT: + continue + td = getattr(rf, m.filters) + ann = m.unpack_annotation() + if ann is not None and ann != m.filters: + wrong.append(f"{m.qualname}: Unpack[{ann}] but sends {m.filters}") + overlap = m.explicit_params & set(td.__annotations__) + if ann is not None and overlap: + wrong.append(f"{m.qualname}: Unpack[{ann}] duplicates explicit params {sorted(overlap)}") + if ann is None and not overlap: + unexplained.append(m.qualname) + assert not wrong, "\n".join(wrong) + assert not unexplained, ("Annotate **kwargs: Unpack[...] on: " + ", ".join(sorted(unexplained))) + + +# ---------------------------------------------------------------------------- one source + +@pytest.mark.parametrize("model, td", list(rf.TYPED_DICT_FOR_MODEL.items()), + ids=lambda x: getattr(x, "__name__", str(x))) +def test_typed_dict_covers_exactly_the_model(model, td): + model_fields = {n for n in model.model_fields if n != "class_"} + mapped = {rf.PUBLIC_ALIASES.get(k, k) for k in td.__annotations__} + call = set(rf.CALL_PARAMETERS[model]) + if model is rf.SearchStringRequestBody: # also covers FindPropertyNamesRequestBody + model_fields |= {n for n in rf.FindPropertyNamesRequestBody.model_fields if n != "class_"} + call |= rf._FIND_PROPERTY_NAMES_CALL_PARAMETERS + assert not (mapped & call), "a call parameter is repeated in the TypedDict" + assert mapped | call == model_fields, ( + f"{td.__name__} vs {model.__name__}: missing {sorted(model_fields - mapped - call)}, " + f"extra {sorted((mapped | call) - model_fields)}") + + +def test_every_typed_dict_field_has_a_docstring(): + docs = rf._field_docs() + for td in (rf.GetFilters, rf.ListFilters, rf.SearchFilters, rf.FindFilters): + own = rf._own_fields(td) + assert own and all(docs[td.__name__].get(k) for k in own), td.__name__ + + +def test_docs_page_tables_are_generated_from_the_module(): + page = (REPO / "docs" / "search-and-get-filters.md").read_text(encoding="utf-8") + start, end = "\n", "" + generated = page.split(start, 1)[1].split(end, 1)[0] + assert generated == rf.filter_reference_markdown(), ( + "docs/search-and-get-filters.md is stale: regenerate the block with " + "pyegeria.core.request_filters.filter_reference_markdown()") + + +# ---------------------------------------------------------------------------- part 2 + +def test_known_filter_maps_to_wire_name_and_unknown_warns(): + with pytest.warns(UnknownFilterWarning, match=r"'metadata_element_subtipes'.*metadata_element_subtypes"): + body = rf.filter_body_kwargs("search", {"metadata_element_subtypes": ["DataClass"], + "metadata_element_subtipes": ["X"], + "max_depth": 2, "anchorGUID": "a1", "sequencing_order": None}) + assert body == {"metadataElementSubtypeNames": ["DataClass"], "anchorGUID": "a1"} + + +def test_render_options_do_not_warn(): + with warnings.catch_warnings(): + warnings.simplefilter("error", UnknownFilterWarning) + assert rf.filter_body_kwargs("get", {"refresh_spec": False, "include_peers": True}) == {} + + +def test_valid_sets_come_from_the_models(): + assert "metadata_element_subtypes" in rf.valid_filter_names("get") + assert "anchor_guid" not in rf.valid_filter_names("get") # not on GetRequestBody + assert "anchor_guid" in rf.valid_filter_names("name") + assert "filter_string" in rf.valid_filter_names("name") + assert "property_names" in rf.valid_filter_names("search") + assert "skip_subtypes" in rf.valid_filter_names("find") + assert "skip_subtypes" not in rf.valid_filter_names("search") + + +class _Response: + def __init__(self, payload): + self._payload = payload + + def json(self): + return self._payload + + +@pytest.fixture +def designer(monkeypatch): + from pyegeria.omvs.data_designer import DataDesigner + + monkeypatch.setattr(DataDesigner, "check_connection", lambda self: "test") + client = DataDesigner("view-server", "https://egeria.example:9443", "user", "pwd") + sent: list[dict] = [] + + async def fake_request(method, url, payload=None, *args, **kwargs): + sent.append(json.loads(payload) if isinstance(payload, str) else (payload or {})) + return _Response({"elements": [{"elementHeader": {"guid": "g1"}}], "element": {"elementHeader": {"guid": "g1"}}}) + + monkeypatch.setattr(client, "_async_make_request", fake_request) + client.sent = sent + return client + + +def test_find_data_value_specifications_restricted_to_data_class(designer): + with warnings.catch_warnings(): + warnings.simplefilter("error", UnknownFilterWarning) + designer.find_data_value_specifications("*", metadata_element_subtypes=["DataClass"]) + assert designer.sent[-1]["metadataElementSubtypeNames"] == ["DataClass"] + + +def test_find_unknown_filter_warns_and_is_not_sent(designer): + with pytest.warns(UnknownFilterWarning, match="find_data_value_specifications"): + designer.find_data_value_specifications("*", metadata_element_subtipes=["DataClass"]) + assert "metadataElementSubtypeNames" not in designer.sent[-1] + assert "metadata_element_subtipes" not in designer.sent[-1] + + +def test_find_all_data_fields_now_filters(designer): + designer.find_all_data_fields(limit_results_by_status=["ACTIVE"]) + assert designer.sent[-1]["limitResultsByStatus"] == ["ACTIVE"] + + +def test_get_by_guid_forwards_get_filters(designer): + designer.get_data_class_by_guid("g1", as_of_time="2026-01-01T00:00:00", skip_relationships=["Foo"]) + body = designer.sent[-1] + assert body["skipRelationships"] == ["Foo"] and body["asOfTime"].startswith("2026-01-01") + + +def test_get_by_name_forwards_public_spelling(designer): + designer.get_data_value_specifications_by_name("x", metadata_element_subtypes=["DataClass"], anchor_domain="Glossary") + body = designer.sent[-1] + assert body["metadataElementSubtypeNames"] == ["DataClass"] + assert body["anchorDomainName"] == "Glossary" + + +def test_get_by_guid_unknown_filter_warns(designer): + with pytest.warns(UnknownFilterWarning, match="anchor_guid"): # anchor filters are list/search only + designer.get_data_class_by_guid("g1", anchor_guid="a1") + + +# ---------------------------------------------------------------------------- report specs + +def test_spec_params_typo_warns_through_the_report_executor(designer, monkeypatch): + """A report spec's spec_params go into the same kwargs, so a typo there warns too.""" + import pyegeria.view.format_set_executor as fse + from pyegeria.omvs.data_designer import DataDesigner + + fmt = {"action": {"function": "DataDesigner.find_data_value_specifications", + "required_params": [], "optional_params": ["search_string"], + "spec_params": {"metadata_element_subtypes": ["DataClass"], + "metadata_element_subtipes": ["DataClass"]}}} + monkeypatch.setattr(fse, "select_report_spec", lambda name, kind: fmt) + monkeypatch.setattr(fse, "_resolve_client_and_method", + lambda decl: (DataDesigner, decl.split(".")[-1])) + monkeypatch.setattr(fse, "_resolve_action_target_client", lambda client, cls: designer) + + class _Tech: + user_id, user_pwd = "user", "pwd" + + def get_token(self): + return "token" + + import asyncio + with pytest.warns(UnknownFilterWarning, match="metadata_element_subtipes"): + out = asyncio.run(fse._async_run_report_impl("Data-Classes-Test", _Tech(), output_format="JSON", + params={"search_string": "*"})) + assert out["kind"] == "json" + assert designer.sent[-1]["metadataElementSubtypeNames"] == ["DataClass"] + + +def test_report_param_aliases_do_not_warn(): + import pyegeria.view.format_set_executor as fse + params = fse._normalize_report_params({"metadata_element_name": "DataClass", "sort_order": "ANY", + "order_property_name": "name", "anchor_scope_id": "s1", + "limit_result_by_status": "ACTIVE"}, action_mode="find") + with warnings.catch_warnings(): + warnings.simplefilter("error", UnknownFilterWarning) + body = rf.filter_body_kwargs("search", params) + assert body["metadataElementTypeName"] == "DataClass" + assert body["sequencingOrder"] == "ANY" and body["anchorScopeGUID"] == "s1" + + +# Every built-in report spec's spec_params must be a filter (or explicit parameter) of the +# method it calls. Before 6.2.28 a misspelt one was silently dropped and the report ran +# unfiltered (e.g. Cited-Document listed every external reference); fix any failure at the +# source -- the Dr.Egeria compact specs' find_constraints -- then run refresh_specs. +def test_builtin_report_spec_params_are_valid_filters(methods): + from pyegeria.view.base_report_formats import get_report_registry + + kind = {"SearchFilters": "search", "ListFilters": "name", "GetFilters": "get", "FindFilters": "find"} + by_name = {(m.cls, m.name): m for m in methods} + found = set() + for spec_name, fs in get_report_registry().items(): + action = getattr(fs, "action", None) + func = getattr(action, "function", "") or "" + if "." not in func: + continue + cls, meth = func.split(".")[:2] + m = by_name.get((cls, meth)) or by_name.get((cls, "_async_" + meth.removeprefix("_async_"))) + if m is None: + continue + wire = rf._wire_map(kind[m.filters]) + for key in (getattr(action, "spec_params", None) or {}): + if key not in wire and key not in rf.RENDER_OPTIONS and key not in m.explicit_params: + found.add((key, func)) + assert not found, f"spec_params that are not filters of the called method: {sorted(found)}" + + +def test_no_call_hard_codes_a_filter_beside_forwarded_kwargs(methods): + """f(..., metadata_element_type="X", **kwargs) raises TypeError ("multiple values") as soon as a + caller -- or a report spec's spec_params -- passes that filter. Put the default in the splat + instead (f(..., **{"metadata_element_type": "X", **kwargs})) so the caller's value wins.""" + import ast + + kind = {"SearchFilters": "search", "ListFilters": "name", "GetFilters": "get", "FindFilters": "find"} + bad = [] + for m in methods: + if not m.kwargs_name: + continue + valid = rf.valid_filter_names(kind[m.filters]) | set(rf.LEGACY_ALIASES) + for call in ast.walk(m.node): + if not isinstance(call, ast.Call): + continue + if not any(k.arg is None and isinstance(k.value, ast.Name) and k.value.id == m.kwargs_name + for k in call.keywords): + continue + clash = [k.arg for k in call.keywords if k.arg in valid and k.arg not in m.explicit_params] + if clash: + bad.append(f"{m.qualname}: {clash}") + assert not bad, "\n".join(bad) + + +# ---------------------------------------------------------------------------- one name everywhere + +def test_no_signature_uses_a_deprecated_type_name(): + """6.2.28: the element-type filters are spelt metadata_element_type / metadata_element_subtypes + in every method signature; the old spellings live only in DEPRECATED_NAMES.""" + import ast + + bad = [] + for path in sorted((REPO / "pyegeria").rglob("*.py")): + if path.name == "request_filters.py" or "models" in path.parts: + continue + for node in ast.walk(ast.parse(path.read_text(encoding="utf-8"))): + if isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef)): + a = node.args + for arg in a.posonlyargs + a.args + a.kwonlyargs: + if arg.arg in rf.DEPRECATED_NAMES: + bad.append(f"{path.relative_to(REPO)}:{node.lineno} {node.name}({arg.arg})") + assert not bad, "rename to the canonical name:\n" + "\n".join(bad) + + +@pytest.fixture +def explorer(monkeypatch): + from pyegeria.omvs.classification_explorer import ClassificationExplorer + + monkeypatch.setattr(ClassificationExplorer, "check_connection", lambda self: "test") + client = ClassificationExplorer("view-server", "https://egeria.example:9443", "user", "pwd") + sent: list[dict] = [] + + async def fake_request(method, url, payload=None, *args, **kwargs): + sent.append(json.loads(payload) if isinstance(payload, str) else (payload or {})) + return _Response({"elements": [{"elementHeader": {"guid": "g1"}}]}) + + monkeypatch.setattr(client, "_async_make_request", fake_request) + client.sent = sent + return client + + +def test_deprecated_type_name_still_works_with_a_warning(explorer): + with pytest.warns(DeprecationWarning, match="'metadata_element_type_name' is deprecated; use 'metadata_element_type'"): + explorer.find_elements_by_property_value("x", ["displayName"], metadata_element_type_name="EmbeddedProcess") + assert explorer.sent[-1]["metadataElementTypeName"] == "EmbeddedProcess" + + +def test_canonical_type_name_does_not_warn(explorer): + with warnings.catch_warnings(): + warnings.simplefilter("error", DeprecationWarning) + explorer.find_elements_by_property_value("x", ["displayName"], metadata_element_type="EmbeddedProcess") + assert explorer.sent[-1]["metadataElementTypeName"] == "EmbeddedProcess" + + +def test_both_type_names_with_different_values_are_refused(explorer): + with pytest.warns(DeprecationWarning), pytest.raises(TypeError, match="pass only 'metadata_element_type'"): + explorer.find_elements_by_property_value("x", ["displayName"], metadata_element_type="A", + metadata_element_type_name="B") + assert not explorer.sent + + +def test_deprecated_names_in_kwargs_warn_too(designer): + with pytest.warns(DeprecationWarning, match="'metadata_element_subtype_names' is deprecated"): + designer.find_data_value_specifications("*", metadata_element_subtype_names=["DataClass"]) + assert designer.sent[-1]["metadataElementSubtypeNames"] == ["DataClass"] + + +def test_lone_string_for_subtypes_becomes_a_list(): + with pytest.warns(DeprecationWarning): + out = rf.canonicalize_names({"metadata_element_sub_type": "DataClass"}, owner="t") + assert out == {"metadata_element_subtypes": ["DataClass"]} + + +def test_report_executor_canonicalizes_quietly(): + import pyegeria.view.format_set_executor as fse + + with warnings.catch_warnings(): + warnings.simplefilter("error", DeprecationWarning) + out = fse._normalize_report_params({"metadata_element_type_name": "X", + "metadata_element_subtype_names": "A,B"}, action_mode="find") + assert out["metadata_element_type"] == "X" and out["metadata_element_subtypes"] == ["A", "B"] + assert "metadata_element_type_name" not in out and "metadata_element_subtype_names" not in out + + +# ---------------------------------------------------------------------------- generic-search specs + +# (ClassificationExplorer.get_elements is not here: it always sends a type, Referenceable by default.) +GENERIC_SEARCH_FUNCTIONS = { + "MetadataExpert.find_metadata_elements_with_string", + "ClassificationExplorer.find_elements_by_property_value", +} +TYPE_FILTERS = {"metadata_element_type", "metadata_element_subtypes", "include_only_classified_elements"} + + +def test_every_generic_search_spec_names_a_type(): + """A generic search with no type lists whatever matches across the whole repository, and with + '*' Egeria refuses it outright ("searchString is null"). Each such report spec must say which + type (or classification) it is about -- set it in the Dr.Egeria command's find_constraints.""" + from pyegeria.view.base_report_formats import get_report_registry + + untyped = [] + for name, fs in get_report_registry().items(): + action = getattr(fs, "action", None) + if getattr(action, "function", None) in GENERIC_SEARCH_FUNCTIONS: + if not TYPE_FILTERS & set(getattr(action, "spec_params", None) or {}): + untyped.append(f"{name} -> {action.function}") + assert not untyped, "generic-search report specs with no type filter:\n" + "\n".join(sorted(untyped)) + + +def test_untyped_star_is_refused_with_words(explorer, monkeypatch): + from pyegeria.omvs.metadata_expert import MetadataExpert + + with pytest.raises(ValueError, match="give a search string or a"): + explorer.find_elements_by_property_value("*", ["displayName"]) + assert not explorer.sent + + monkeypatch.setattr(MetadataExpert, "check_connection", lambda self: "test") + expert = MetadataExpert("view-server", "https://egeria.example:9443", "user", "pwd") + with pytest.raises(ValueError, match="give a search string or a type"): + expert.find_metadata_elements_with_string("*") + + +def test_typed_star_lists_every_element_of_the_type(explorer): + explorer.find_elements_by_property_value("*", ["displayName", "qualifiedName"], + metadata_element_type="EmbeddedProcess", page_size=5) + body = explorer.sent[-1] + assert body["metadataElementTypeName"] == "EmbeddedProcess" + assert "propertyValue" not in body and "searchString" not in body # sent as a by-type list + + +def test_report_search_string_reaches_property_value(): + import pyegeria.view.format_set_executor as fse + from pyegeria.omvs.classification_explorer import ClassificationExplorer + + out = fse._bind_search_parameter(ClassificationExplorer.find_elements_by_property_value, + {"search_string": "pump", "property_names": ["displayName"]}) + assert out == {"property_value": "pump", "property_names": ["displayName"]} + + +def _conditions(body): + return body["searchProperties"]["conditions"] + + +def test_star_with_a_technology_lists_exactly_that_technology(explorer): + explorer.find_elements_by_property_value("*", ["displayName", "qualifiedName"], + metadata_element_type="SoftwareServer", + deployed_implementation_type="Unity Catalog Server") + body = explorer.sent[-1] + assert body["class"] == "FindRequestBody" and body["metadataElementTypeName"] == "SoftwareServer" + # exact, so "Databricks Unity Catalog Server" is not a "Unity Catalog Server" + assert _conditions(body) == [{"property": "deployedImplementationType", "operator": "CASE_INSENSITIVE_EQ", + "value": {"class": "PrimitiveTypePropertyValue", "typeName": "string", + "primitiveValue": "Unity Catalog Server"}}] + assert body["searchProperties"]["matchCriteria"] == "ALL" + + +def test_search_string_with_a_technology_ands_both_conditions_server_side(explorer): + explorer.find_elements_by_property_value("Coco", ["displayName", "qualifiedName"], + metadata_element_type="SoftwareServer", + deployed_implementation_type="PostgreSQL Server", page_size=25) + body = explorer.sent[-1] + tech, names = _conditions(body) + assert tech["property"] == "deployedImplementationType" and tech["operator"] == "CASE_INSENSITIVE_EQ" + nested = names["nestedConditions"] + assert nested["matchCriteria"] == "ANY" + assert [(c["property"], c["operator"], c["value"]["primitiveValue"]) for c in nested["conditions"]] == [ + ("displayName", "STARTS_WITH", "Coco"), ("qualifiedName", "STARTS_WITH", "Coco")] + assert body["searchProperties"]["matchCriteria"] == "ALL" and body["pageSize"] == 25 + + +@pytest.mark.parametrize("starts, ends, ignore, op", [ + (True, False, False, "STARTS_WITH"), (False, True, False, "ENDS_WITH"), (True, True, False, "EQ"), + (False, False, False, "LIKE"), (True, False, True, "CASE_INSENSITIVE_STARTS_WITH"), + (False, False, True, "CASE_INSENSITIVE_LIKE")]) +def test_search_options_map_to_egeria_operators(starts, ends, ignore, op): + from pyegeria.omvs.classification_explorer import _match_operator + assert _match_operator(starts, ends, ignore) == op + + +def test_generator_derives_type_and_technology_from_the_command(): + import importlib.util + + spec = importlib.util.spec_from_file_location("gen_report_specs", REPO / "commands" / "tech" / "gen_report_specs.py") + gen = importlib.util.module_from_spec(spec) + spec.loader.exec_module(gen) + ce = "ClassificationExplorer.find_elements_by_property_value" + assert gen._generic_search_constraints("Create Postgres Server Element", {"OM_TYPE": "SoftwareServer"}, ce, {}) == { + "metadata_element_type": "SoftwareServer", "property_names": ["displayName", "qualifiedName"], + "default_deployed_implementation_type": "PostgreSQL Server"} + assert gen._generic_search_constraints("Create Element", {"OM_TYPE": ""}, ce, {})["metadata_element_type"] \ + == "OpenMetadataRoot" + # an explicit type in find_constraints is kept; other find methods are untouched + assert gen._generic_search_constraints("Create X", {"OM_TYPE": "A"}, ce, {"metadata_element_type": "B"})[ + "metadata_element_type"] == "B" + assert gen._generic_search_constraints("Create X", {"OM_TYPE": "A"}, "GlossaryManager.find_glossaries", {}) == {} + + +def test_technology_specs_show_the_technology_column(): + from pyegeria.view.base_report_formats import get_report_registry + + fs = get_report_registry()["Postgres-Server-Element-DrE-Basic"] + # the spec pins a DEFAULT; the run parameter is declared optional (no unknown-filter warning, and + # the Portal's run form shows it) + assert fs.action.spec_params["default_deployed_implementation_type"] == "PostgreSQL Server" + assert "deployed_implementation_type" not in fs.action.spec_params + assert "deployed_implementation_type" in fs.action.optional_params + assert any(c.key == "deployed_implementation_type" for c in fs.formats[0].attributes) + + +def test_report_run_param_typo_warns(monkeypatch): + """P3: exec_report_spec passes only the report's declared parameters; a caller's typo used to vanish.""" + import pyegeria.view.format_set_executor as fse + + with pytest.warns(UnknownFilterWarning, match=r"report 'R': parameter\(s\) 'metadata_element_subtipes' ignored"): + fse._warn_dropped_params("R", {"search_string": "*", "metadata_element_subtipes": ["X"], "page_size": 5}, + {"search_string": "*", "page_size": 5}, ["search_string", "page_size"]) + with warnings.catch_warnings(): + warnings.simplefilter("error", UnknownFilterWarning) + fse._warn_dropped_params("R", {"search_string": "*", "sort_order": "ANY"}, {"property_value": "*"}, + ["search_string"]) + + +@pytest.mark.parametrize("root", ["OpenMetadataRoot", "Referenceable"]) +def test_star_on_a_root_type_is_refused(explorer, root): + # get_elements(OpenMetadataRoot, page_size=1000) ran the quickstart platform out of heap. + with pytest.raises(ValueError, match="give a search string or a narrower type"): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type=root) + assert not explorer.sent + explorer.find_elements_by_property_value("pump", ["displayName"], metadata_element_type=root) + assert explorer.sent[-1]["propertyValue"] == "pump" + + +@pytest.mark.parametrize("asked, sent", [(0, 100), (None, 100), (1000, 100), (25, 25)]) +def test_star_pages_never_more_than_100(explorer, asked, sent): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="EmbeddedProcess", + page_size=asked, start_from=200) + body = explorer.sent[-1] + assert body["pageSize"] == sent and body["startFrom"] == 200 + + +def test_technology_star_pages_never_more_than_100(explorer): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="SoftwareServer", + deployed_implementation_type="PostgreSQL Server", page_size=1000) + assert explorer.sent[-1]["pageSize"] == 100 + + +def test_exec_report_spec_surfaces_a_refusal(monkeypatch): + """The sync executor used to swallow ValueError and return None.""" + import pyegeria.view.format_set_executor as fse + + class _Client: + def __init__(self, *a, **k): + pass + + def set_bearer_token(self, token): + pass + + def close_session(self): + pass + + def find_things(self, search_string="*", **kwargs): + raise ValueError("give a search string or a narrower type") + + fmt = {"action": {"function": "X.find_things", "required_params": ["search_string"], "spec_params": {}}} + monkeypatch.setattr(fse, "select_report_spec", lambda name, kind: fmt) + monkeypatch.setattr(fse, "_resolve_client_and_method", lambda decl: (_Client, "find_things")) + with pytest.raises(ValueError, match="narrower type"): + fse.exec_report_spec("R", output_format="DICT", params={"search_string": "*"}, + view_server="v", view_url="https://x", user="u", user_pass="p", token="t") + + + +def _tech(body): + conds = body.get("searchProperties", {}).get("conditions", []) if isinstance(body, dict) else [] + return [c["value"]["primitiveValue"] for c in conds if c.get("property") == "deployedImplementationType"] + + +def test_technology_default_applies_when_not_given(explorer): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="SoftwareServer", + default_deployed_implementation_type="PostgreSQL Server") + assert _tech(explorer.sent[-1]) == ["PostgreSQL Server"] + + +def test_technology_star_means_any_technology(explorer): + # '*' as the technology drops the condition: every SoftwareServer, '*' still lists via get_elements + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="SoftwareServer", + deployed_implementation_type="*", + default_deployed_implementation_type="PostgreSQL Server", + page_size=500) + body = explorer.sent[-1] + assert _tech(body) == [] and body["metadataElementTypeName"] == "SoftwareServer" + assert body["pageSize"] == 100 # still capped + # a search string still matches by name, within the whole type + explorer.find_elements_by_property_value("Coco", ["displayName"], metadata_element_type="SoftwareServer", + deployed_implementation_type="*", + default_deployed_implementation_type="PostgreSQL Server") + assert explorer.sent[-1]["propertyValue"] == "Coco" and _tech(explorer.sent[-1]) == [] + + +def test_technology_star_keeps_the_root_type_refusal(explorer): + with pytest.raises(ValueError, match="narrower type"): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="OpenMetadataRoot", + deployed_implementation_type="*") + + +def test_any_other_technology_is_an_exact_match(explorer): + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="SoftwareServer", + deployed_implementation_type="Apache Kafka Server", + default_deployed_implementation_type="PostgreSQL Server") + body = explorer.sent[-1] + assert _tech(body) == ["Apache Kafka Server"] + assert body["searchProperties"]["conditions"][0]["operator"] == "CASE_INSENSITIVE_EQ" + + +def test_report_run_param_overrides_the_technology_default(monkeypatch): + """Through the executor: the spec pins the default, the caller's run parameter wins, no warning.""" + import pyegeria.view.format_set_executor as fse + from pyegeria.view.base_report_formats import get_report_registry + + calls = [] + + class _Client: + def __init__(self, *a, **k): + pass + + def set_bearer_token(self, token): + pass + + def close_session(self): + pass + + def find_elements_by_property_value(self, property_value, property_names, metadata_element_type=None, + deployed_implementation_type=None, + default_deployed_implementation_type=None, **kwargs): + calls.append((deployed_implementation_type, default_deployed_implementation_type)) + return [] + + action = get_report_registry()["Postgres-Server-Element-DrE-Basic"].action + fmt = {"action": action.model_dump()} + monkeypatch.setattr(fse, "select_report_spec", lambda name, kind: fmt) + monkeypatch.setattr(fse, "_resolve_client_and_method", lambda decl: (_Client, "find_elements_by_property_value")) + with warnings.catch_warnings(): + warnings.simplefilter("error", UnknownFilterWarning) + for run_params in ({"search_string": "*"}, {"search_string": "*", "deployed_implementation_type": "*"}): + fse.exec_report_spec("Postgres-Server-Element-DrE-Basic", output_format="DICT", params=run_params, + view_server="v", view_url="https://x", user="u", user_pass="p", token="t") + assert calls == [(None, "PostgreSQL Server"), ("*", "PostgreSQL Server")] + + + +def test_technology_match_ignores_case(explorer): + # exact, but "postgresql server" finds the PostgreSQL Server rather than an unexplained empty result + explorer.find_elements_by_property_value("*", ["displayName"], metadata_element_type="SoftwareServer", + deployed_implementation_type="postgresql server") + cond = explorer.sent[-1]["searchProperties"]["conditions"][0] + assert (cond["operator"], cond["value"]["primitiveValue"]) == ("CASE_INSENSITIVE_EQ", "postgresql server")