Skip to content

Commit 24e50a0

Browse files
msyycBigCat20196
andauthored
[synapse] regenerate azure-synapse-artifacts with tag package-artifacts-composite-v3 (Azure#23295)
* regenerate * create test * Update test_smoke.py * update test * Update CHANGELOG.md * dev dependency Co-authored-by: BigCat20196 <[email protected]>
1 parent 1ed6c30 commit 24e50a0

35 files changed

+2622
-53620
lines changed

sdk/synapse/azure-synapse-artifacts/CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 0.12.0 (Unreleased)
3+
## 0.12.0 (2022-03-07)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- re-generated based on tag package-artifacts-composite-v3
128

139
## 0.11.0 (2022-01-11)
1410

sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/_artifacts_client.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
# --------------------------------------------------------------------------
88

99
from copy import deepcopy
10-
from typing import TYPE_CHECKING
10+
from typing import Any, TYPE_CHECKING
1111

1212
from azure.core import PipelineClient
13+
from azure.core.rest import HttpRequest, HttpResponse
1314
from msrest import Deserializer, Serializer
1415

1516
from . import models
@@ -18,12 +19,9 @@
1819

1920
if TYPE_CHECKING:
2021
# pylint: disable=unused-import,ungrouped-imports
21-
from typing import Any
22-
2322
from azure.core.credentials import TokenCredential
24-
from azure.core.rest import HttpRequest, HttpResponse
2523

26-
class ArtifactsClient(object):
24+
class ArtifactsClient:
2725
"""ArtifactsClient.
2826
2927
:ivar kql_scripts: KqlScriptsOperations operations
@@ -84,11 +82,10 @@ class ArtifactsClient(object):
8482

8583
def __init__(
8684
self,
87-
credential, # type: "TokenCredential"
88-
endpoint, # type: str
89-
**kwargs # type: Any
90-
):
91-
# type: (...) -> None
85+
credential: "TokenCredential",
86+
endpoint: str,
87+
**kwargs: Any
88+
) -> None:
9289
_base_url = '{endpoint}'
9390
self._config = ArtifactsClientConfiguration(credential=credential, endpoint=endpoint, **kwargs)
9491
self._client = PipelineClient(base_url=_base_url, config=self._config, **kwargs)
@@ -124,9 +121,8 @@ def __init__(
124121
def _send_request(
125122
self,
126123
request, # type: HttpRequest
127-
**kwargs # type: Any
128-
):
129-
# type: (...) -> HttpResponse
124+
**kwargs: Any
125+
) -> HttpResponse:
130126
"""Runs the network request through the client's chained policies.
131127
132128
>>> from azure.core.rest import HttpRequest

sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/_configuration.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from typing import TYPE_CHECKING
9+
from typing import Any, TYPE_CHECKING
1010

1111
from azure.core.configuration import Configuration
1212
from azure.core.pipeline import policies
@@ -15,8 +15,6 @@
1515

1616
if TYPE_CHECKING:
1717
# pylint: disable=unused-import,ungrouped-imports
18-
from typing import Any
19-
2018
from azure.core.credentials import TokenCredential
2119

2220

@@ -34,11 +32,10 @@ class ArtifactsClientConfiguration(Configuration):
3432

3533
def __init__(
3634
self,
37-
credential, # type: "TokenCredential"
38-
endpoint, # type: str
39-
**kwargs # type: Any
40-
):
41-
# type: (...) -> None
35+
credential: "TokenCredential",
36+
endpoint: str,
37+
**kwargs: Any
38+
) -> None:
4239
super(ArtifactsClientConfiguration, self).__init__(**kwargs)
4340
if credential is None:
4441
raise ValueError("Parameter 'credential' must not be None.")

0 commit comments

Comments
 (0)