Skip to content

Commit 77c8ac3

Browse files
[AutoRelease] t2-datafactory-2024-11-15-86308(can only be merged by SDK owner) (Azure#38563)
* code and test * update testcases --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent bd605d9 commit 77c8ac3

File tree

153 files changed

+2594
-2098
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+2594
-2098
lines changed

sdk/datafactory/azure-mgmt-datafactory/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Release History
22

3+
## 9.1.0 (2024-12-16)
4+
5+
### Features Added
6+
7+
- Model `AzurePostgreSqlLinkedService` added property `server`
8+
- Model `AzurePostgreSqlLinkedService` added property `port`
9+
- Model `AzurePostgreSqlLinkedService` added property `username`
10+
- Model `AzurePostgreSqlLinkedService` added property `database`
11+
- Model `AzurePostgreSqlLinkedService` added property `ssl_mode`
12+
- Model `AzurePostgreSqlLinkedService` added property `timeout`
13+
- Model `AzurePostgreSqlLinkedService` added property `command_timeout`
14+
- Model `AzurePostgreSqlLinkedService` added property `trust_server_certificate`
15+
- Model `AzurePostgreSqlLinkedService` added property `read_buffer_size`
16+
- Model `AzurePostgreSqlLinkedService` added property `timezone`
17+
- Model `AzurePostgreSqlLinkedService` added property `encoding`
18+
- Model `MariaDBLinkedService` added property `ssl_mode`
19+
- Model `MariaDBLinkedService` added property `use_system_trust_store`
20+
- Model `MySqlLinkedService` added property `allow_zero_date_time`
21+
- Model `MySqlLinkedService` added property `connection_timeout`
22+
- Model `MySqlLinkedService` added property `convert_zero_date_time`
23+
- Model `MySqlLinkedService` added property `guid_format`
24+
- Model `MySqlLinkedService` added property `ssl_cert`
25+
- Model `MySqlLinkedService` added property `ssl_key`
26+
- Model `MySqlLinkedService` added property `treat_tiny_as_boolean`
27+
- Model `PostgreSqlV2LinkedService` added property `authentication_type`
28+
- Model `SalesforceV2Source` added property `page_size`
29+
- Model `ServiceNowV2Source` added property `page_size`
30+
- Model `SnowflakeV2LinkedService` added property `host`
31+
- Added model `IcebergDataset`
32+
- Added model `IcebergSink`
33+
- Added model `IcebergWriteSettings`
34+
335
## 9.0.0 (2024-08-19)
436

537
### Features Added
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "471fbc404548c3c6611833680dbbeefcc010e201",
2+
"commit": "f06cffbda682a8cd225a8b16bc6f000d26d01612",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.17.0",
6+
"@autorest/python@6.26.4",
77
"@autorest/[email protected]"
88
],
9-
"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=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.17.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"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",
1010
"readme": "specification/datafactory/resource-manager/readme.md"
1111
}

sdk/datafactory/azure-mgmt-datafactory/assets.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._data_factory_management_client import DataFactoryManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._data_factory_management_client import DataFactoryManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"DataFactoryManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class DataFactoryManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class DataFactoryManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for DataFactoryManagementClient.
2322
2423
Note that all parameters used to create this instance are saved as instance

sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/_data_factory_management_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@
4545
)
4646

4747
if TYPE_CHECKING:
48-
# pylint: disable=unused-import,ungrouped-imports
4948
from azure.core.credentials import TokenCredential
5049

5150

52-
class DataFactoryManagementClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
51+
class DataFactoryManagementClient: # pylint: disable=too-many-instance-attributes
5352
"""The Azure Data Factory V2 management API provides a RESTful set of web services that interact
5453
with Azure Data Factory V2 services.
5554

0 commit comments

Comments
 (0)