Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/purview/azure-purview-datamap/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"commit": "a2bd6a405683c01ba4bf92b47380d20e2306d991",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/purview/Azure.Analytics.Purview.DataMap",
"@azure-tools/typespec-python": "0.40.0"
}
185 changes: 185 additions & 0 deletions sdk/purview/azure-purview-datamap/apiview-properties.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=too-many-lines
# pylint: disable=line-too-long,useless-suppression,too-many-lines
# --------------------------------------------------------------------------
#
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -411,7 +411,7 @@ def from_dict(
:param function key_extractors: A key extractor function.
:param str content_type: JSON by default, set application/xml if XML.
:returns: An instance of this model
:raises: DeserializationError if something went wrong
:raises DeserializationError: if something went wrong
:rtype: Self
"""
deserializer = Deserializer(cls._infer_class_models())
Expand Down Expand Up @@ -1361,7 +1361,7 @@ def xml_key_extractor(attr, attr_desc, data): # pylint: disable=unused-argument
# Iter and wrapped, should have found one node only (the wrap one)
if len(children) != 1:
raise DeserializationError(
"Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format( # pylint: disable=line-too-long
"Tried to deserialize an array not wrapped, and found several nodes '{}'. Maybe you should declare this array as wrapped?".format(
xml_name
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b2"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pylint: disable=too-many-lines
# pylint: disable=line-too-long,useless-suppression,too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -171,7 +171,7 @@ async def create_or_update(
Existing entity is matched using its unique guid if
supplied or by its unique attributes eg: qualifiedName.
Map and array of
collections are not well supported. E.g., array<array\\ :code:`<int>`>, array<map<string,
collections are not well supported. E.g., array<array<int>>, array<map<string,
int>>.
For each contact type, the maximum number of contacts is 20.

Expand Down Expand Up @@ -208,7 +208,7 @@ async def create_or_update(
Existing entity is matched using its unique guid if
supplied or by its unique attributes eg: qualifiedName.
Map and array of
collections are not well supported. E.g., array<array\\ :code:`<int>`>, array<map<string,
collections are not well supported. E.g., array<array<int>>, array<map<string,
int>>.
For each contact type, the maximum number of contacts is 20.

Expand Down Expand Up @@ -245,7 +245,7 @@ async def create_or_update(
Existing entity is matched using its unique guid if
supplied or by its unique attributes eg: qualifiedName.
Map and array of
collections are not well supported. E.g., array<array\\ :code:`<int>`>, array<map<string,
collections are not well supported. E.g., array<array<int>>, array<map<string,
int>>.
For each contact type, the maximum number of contacts is 20.

Expand Down Expand Up @@ -281,7 +281,7 @@ async def create_or_update(
Existing entity is matched using its unique guid if
supplied or by its unique attributes eg: qualifiedName.
Map and array of
collections are not well supported. E.g., array<array\\ :code:`<int>`>, array<map<string,
collections are not well supported. E.g., array<array<int>>, array<map<string,
int>>.
For each contact type, the maximum number of contacts is 20.

Expand Down Expand Up @@ -454,7 +454,7 @@ async def batch_create_or_update(
Existing entity is matched using its unique
guid if supplied or by its unique attributes eg: qualifiedName.
Map and array
of collections are not well supported. E.g., array<array\\ :code:`<int>`>,
of collections are not well supported. E.g., array<array<int>>,
array<map<string, int>>.
For each contact type, the maximum number of contacts
is 20.
Expand Down Expand Up @@ -492,7 +492,7 @@ async def batch_create_or_update(
Existing entity is matched using its unique
guid if supplied or by its unique attributes eg: qualifiedName.
Map and array
of collections are not well supported. E.g., array<array\\ :code:`<int>`>,
of collections are not well supported. E.g., array<array<int>>,
array<map<string, int>>.
For each contact type, the maximum number of contacts
is 20.
Expand Down Expand Up @@ -530,7 +530,7 @@ async def batch_create_or_update(
Existing entity is matched using its unique
guid if supplied or by its unique attributes eg: qualifiedName.
Map and array
of collections are not well supported. E.g., array<array\\ :code:`<int>`>,
of collections are not well supported. E.g., array<array<int>>,
array<map<string, int>>.
For each contact type, the maximum number of contacts
is 20.
Expand Down Expand Up @@ -567,7 +567,7 @@ async def batch_create_or_update(
Existing entity is matched using its unique
guid if supplied or by its unique attributes eg: qualifiedName.
Map and array
of collections are not well supported. E.g., array<array\\ :code:`<int>`>,
of collections are not well supported. E.g., array<array<int>>,
array<map<string, int>>.
For each contact type, the maximum number of contacts
is 20.
Expand Down Expand Up @@ -1427,7 +1427,7 @@ async def get_by_unique_attribute(
In
addition to the typeName path parameter, attribute key-value pair(s) can be
provided in the following format:
attr:\\\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
attr:\\<attrName>=<attrValue>.

NOTE: The
attrName and attrValue should be unique across entities, eg.
Expand Down Expand Up @@ -1524,7 +1524,7 @@ async def update_by_unique_attribute(
typeName path parameter, attribute key-value pair(s) can be provided in the
following format:

attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
attr:<attrName>=<attrValue>.
NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.

Expand Down Expand Up @@ -1567,7 +1567,7 @@ async def update_by_unique_attribute(
typeName path parameter, attribute key-value pair(s) can be provided in the
following format:

attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
attr:<attrName>=<attrValue>.
NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.

Expand Down Expand Up @@ -1610,7 +1610,7 @@ async def update_by_unique_attribute(
typeName path parameter, attribute key-value pair(s) can be provided in the
following format:

attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
attr:<attrName>=<attrValue>.
NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.

Expand Down Expand Up @@ -1652,7 +1652,7 @@ async def update_by_unique_attribute(
typeName path parameter, attribute key-value pair(s) can be provided in the
following format:

attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
attr:<attrName>=<attrValue>.
NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.

Expand Down Expand Up @@ -1743,7 +1743,7 @@ async def delete_by_unique_attribute(
In addition to
the typeName path parameter, attribute key-value pair(s) can be provided in the
following format:
attr:\\\\ :code:`<attrName>`=\\\\ :code:`<attrValue>`.
attr:\\<attrName>=\\<attrValue>.
NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.

Expand Down Expand Up @@ -2266,9 +2266,7 @@ async def batch_get_by_unique_attributes(
provided in the following
format

typeName=\\\\ :code:`<typeName>`&attr_1:\\\\ :code:`<attrName>`=\\\\
:code:`<attrValue>`&attr_2:\\\\ :code:`<attrName>`=\\\\ :code:`<attrValue>`&attr_3:\\\\
:code:`<attrName>`=\\\\ :code:`<attrValue>`
typeName=\\<typeName>&attr_1:\\<attrName>=\\<attrValue>&attr_2:\\<attrName>=\\<attrValue>&attr_3:\\<attrName>=\\<attrValue>

NOTE:
The attrName should be an unique attribute for the given entity-type.
Expand Down Expand Up @@ -3341,8 +3339,7 @@ async def remove_labels_by_unique_attribute(
in labels set are non-existing labels, they will be ignored, only existing
labels will be removed. In addition to the typeName path parameter, attribute
key-value pair(s) can be provided in the following format:
attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`. NOTE: The attrName and attrValue should be
unique
attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique
across entities, eg. qualifiedName. The REST request would look something like
this: DELETE
/v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue.
Expand Down Expand Up @@ -3382,8 +3379,7 @@ async def remove_labels_by_unique_attribute(
in labels set are non-existing labels, they will be ignored, only existing
labels will be removed. In addition to the typeName path parameter, attribute
key-value pair(s) can be provided in the following format:
attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`. NOTE: The attrName and attrValue should be
unique
attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique
across entities, eg. qualifiedName. The REST request would look something like
this: DELETE
/v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue.
Expand Down Expand Up @@ -3422,8 +3418,7 @@ async def remove_labels_by_unique_attribute(
in labels set are non-existing labels, they will be ignored, only existing
labels will be removed. In addition to the typeName path parameter, attribute
key-value pair(s) can be provided in the following format:
attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`. NOTE: The attrName and attrValue should be
unique
attr:<attrName>=<attrValue>. NOTE: The attrName and attrValue should be unique
across entities, eg. qualifiedName. The REST request would look something like
this: DELETE
/v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue.
Expand Down Expand Up @@ -3510,7 +3505,7 @@ async def set_labels_by_unique_attribute(

In addition to the
typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down Expand Up @@ -3552,7 +3547,7 @@ async def set_labels_by_unique_attribute(

In addition to the
typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down Expand Up @@ -3593,7 +3588,7 @@ async def set_labels_by_unique_attribute(

In addition to the
typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down Expand Up @@ -3684,7 +3679,7 @@ async def add_labels_by_unique_attribute(

In addition to
the typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down Expand Up @@ -3726,7 +3721,7 @@ async def add_labels_by_unique_attribute(

In addition to
the typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down Expand Up @@ -3767,7 +3762,7 @@ async def add_labels_by_unique_attribute(

In addition to
the typeName path parameter, attribute key-value pair(s) can be provided in the
following format: attr:\\ :code:`<attrName>`=\\ :code:`<attrValue>`.
following format: attr:<attrName>=<attrValue>.

NOTE: The attrName and
attrValue should be unique across entities, eg. qualifiedName.
Expand Down
Loading