Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-datafactory-2025-03-18-43866(can only be merged by SDK owner) #40114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions sdk/datafactory/azure-mgmt-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 0.0.0 (2025-04-20)

change log generation was timeout!!!

Comment on lines +5 to +6
Copy link
Preview

Copilot AI Mar 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider revising the text to 'Changelog generation timed out' for improved clarity and correct grammar.

Suggested change
change log generation was timeout!!!
Changelog generation timed out

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
## 9.1.0 (2024-12-16)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/datafactory/azure-mgmt-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "f06cffbda682a8cd225a8b16bc6f000d26d01612",
"commit": "8056e0ba6bbe2f00ad0aca066236871ae5e04c23",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.26.4",
"@autorest/python@6.27.4",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.26.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/datafactory/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/datafactory/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def _create_xml_node(tag, prefix=None, ns=None):
return ET.Element(tag)


class Model(object):
class Model:
"""Mixin for all client request body/response body models to support
serialization and deserialization.
"""
Expand Down Expand Up @@ -563,7 +563,7 @@ def _decode_attribute_map_key(key):
return key.replace("\\.", ".")


class Serializer(object): # pylint: disable=too-many-public-methods
class Serializer: # pylint: disable=too-many-public-methods
"""Request object model serializer."""

basic_types = {str: "str", int: "int", bool: "bool", float: "float"}
Expand Down Expand Up @@ -1441,7 +1441,7 @@ def xml_key_extractor(attr, attr_desc, data): # pylint: disable=unused-argument
return children[0]


class Deserializer(object):
class Deserializer:
"""Response object model deserializer.

:param dict classes: Class type dictionary for deserializing complex types.
Expand Down Expand Up @@ -1683,17 +1683,21 @@ def _instantiate_model(self, response, attrs, additional_properties=None):
subtype = getattr(response, "_subtype_map", {})
try:
readonly = [
k for k, v in response._validation.items() if v.get("readonly") # pylint: disable=protected-access
k
for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore
if v.get("readonly")
]
const = [
k for k, v in response._validation.items() if v.get("constant") # pylint: disable=protected-access
k
for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore
if v.get("constant")
]
kwargs = {k: v for k, v in attrs.items() if k not in subtype and k not in readonly + const}
response_obj = response(**kwargs)
for attr in readonly:
setattr(response_obj, attr, attrs.get(attr))
if additional_properties:
response_obj.additional_properties = additional_properties
response_obj.additional_properties = additional_properties # type: ignore
return response_obj
except TypeError as err:
msg = "Unable to deserialize {} into model {}. ".format(kwargs, response) # type: ignore
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 = "9.1.0"
VERSION = "0.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
AzureMySqlTableDataset,
AzurePostgreSqlLinkedService,
AzurePostgreSqlSink,
AzurePostgreSqlSinkUpsertSettings,
AzurePostgreSqlSource,
AzurePostgreSqlTableDataset,
AzureQueueSink,
Expand Down Expand Up @@ -744,8 +745,10 @@
TarGZipReadSettings,
TarReadSettings,
TeamDeskLinkedService,
TeradataImportCommand,
TeradataLinkedService,
TeradataPartitionSettings,
TeradataSink,
TeradataSource,
TeradataTableDataset,
TextFormat,
Expand Down Expand Up @@ -811,6 +814,7 @@
AmazonRdsForSqlAuthenticationType,
AvroCompressionCodec,
AzureFunctionActivityMethod,
AzurePostgreSqlWriteMethodEnum,
AzureSearchIndexWriteBehaviorType,
AzureSqlDWAuthenticationType,
AzureSqlDatabaseAuthenticationType,
Expand Down Expand Up @@ -847,6 +851,7 @@
GoogleAdWordsAuthenticationType,
GoogleBigQueryAuthenticationType,
GoogleBigQueryV2AuthenticationType,
GreenplumAuthenticationType,
HBaseAuthenticationType,
HDInsightActivityDebugInfoOption,
HdiNodeTypes,
Expand Down Expand Up @@ -877,6 +882,7 @@
NotebookReferenceType,
ODataAadServicePrincipalCredentialType,
ODataAuthenticationType,
OracleAuthenticationType,
OraclePartitionOption,
OrcCompressionCodec,
ParameterType,
Expand Down Expand Up @@ -931,6 +937,7 @@
TriggerRuntimeState,
TumblingWindowFrequency,
Type,
ValueType,
VariableType,
WebActivityMethod,
WebAuthenticationType,
Expand Down Expand Up @@ -1037,6 +1044,7 @@
"AzureMySqlTableDataset",
"AzurePostgreSqlLinkedService",
"AzurePostgreSqlSink",
"AzurePostgreSqlSinkUpsertSettings",
"AzurePostgreSqlSource",
"AzurePostgreSqlTableDataset",
"AzureQueueSink",
Expand Down Expand Up @@ -1671,8 +1679,10 @@
"TarGZipReadSettings",
"TarReadSettings",
"TeamDeskLinkedService",
"TeradataImportCommand",
"TeradataLinkedService",
"TeradataPartitionSettings",
"TeradataSink",
"TeradataSource",
"TeradataTableDataset",
"TextFormat",
Expand Down Expand Up @@ -1735,6 +1745,7 @@
"AmazonRdsForSqlAuthenticationType",
"AvroCompressionCodec",
"AzureFunctionActivityMethod",
"AzurePostgreSqlWriteMethodEnum",
"AzureSearchIndexWriteBehaviorType",
"AzureSqlDWAuthenticationType",
"AzureSqlDatabaseAuthenticationType",
Expand Down Expand Up @@ -1771,6 +1782,7 @@
"GoogleAdWordsAuthenticationType",
"GoogleBigQueryAuthenticationType",
"GoogleBigQueryV2AuthenticationType",
"GreenplumAuthenticationType",
"HBaseAuthenticationType",
"HDInsightActivityDebugInfoOption",
"HdiNodeTypes",
Expand Down Expand Up @@ -1801,6 +1813,7 @@
"NotebookReferenceType",
"ODataAadServicePrincipalCredentialType",
"ODataAuthenticationType",
"OracleAuthenticationType",
"OraclePartitionOption",
"OrcCompressionCodec",
"ParameterType",
Expand Down Expand Up @@ -1855,6 +1868,7 @@
"TriggerRuntimeState",
"TumblingWindowFrequency",
"Type",
"ValueType",
"VariableType",
"WebActivityMethod",
"WebAuthenticationType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ class AzureFunctionActivityMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta):
TRACE = "TRACE"


class AzurePostgreSqlWriteMethodEnum(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The write behavior for the operation. Default is Bulk Insert."""

BULK_INSERT = "BulkInsert"
COPY_COMMAND = "CopyCommand"
UPSERT = "Upsert"


class AzureSearchIndexWriteBehaviorType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specify the write behavior when upserting documents into Azure Search Index."""

Expand Down Expand Up @@ -377,6 +385,12 @@ class GoogleBigQueryV2AuthenticationType(str, Enum, metaclass=CaseInsensitiveEnu
USER_AUTHENTICATION = "UserAuthentication"


class GreenplumAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The authentication type to use. Type: string. Only used for V2."""

BASIC = "Basic"


class HBaseAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The authentication mechanism to use to connect to the HBase server."""

Expand Down Expand Up @@ -620,6 +634,12 @@ class ODataAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
MANAGED_SERVICE_IDENTITY = "ManagedServiceIdentity"


class OracleAuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Authentication type for connecting to the Oracle database. Only used for Version 2.0."""

BASIC = "Basic"


class OraclePartitionOption(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The partition mechanism that will be used for Oracle read in parallel."""

Expand Down Expand Up @@ -1083,6 +1103,13 @@ class Type(str, Enum, metaclass=CaseInsensitiveEnumMeta):
LINKED_SERVICE_REFERENCE = "LinkedServiceReference"


class ValueType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Type of value copied from source."""

ACTUAL = "actual"
DISPLAY = "display"


class VariableType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Variable type."""

Expand Down
Loading
Loading