Skip to content

Commit 91501c1

Browse files
committed
release date update
1 parent af88543 commit 91501c1

File tree

4 files changed

+18
-50
lines changed

4 files changed

+18
-50
lines changed

sdk/communication/azure-communication-callautomation/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 1.4.0 (2025-06-04)
3+
## 1.4.0 (2025-06-05)
44

55
### Features Added
66

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/aio/_call_automation_client_async.py

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
from .._generated.aio import AzureCommunicationCallAutomationService
1414
from .._shared.auth_policy_utils import get_authentication_policy
1515
from .._shared.utils import parse_connection_str
16-
from .._credential.call_automation_auth_policy_utils import get_call_automation_auth_policy
17-
from .._credential.credential_utils import get_custom_enabled, get_custom_url
1816
from .._generated.models import (
1917
CreateCallRequest,
2018
AnswerCallRequest,
@@ -108,28 +106,14 @@ def __init__(
108106
if not parsed_url.netloc:
109107
raise ValueError(f"Invalid URL: {format(endpoint)}")
110108

111-
custom_enabled = get_custom_enabled()
112-
custom_url = get_custom_url()
113-
if custom_enabled and custom_url is not None:
114-
self._client = AzureCommunicationCallAutomationService(
115-
custom_url,
116-
credential,
117-
api_version=api_version or DEFAULT_VERSION,
118-
authentication_policy=get_call_automation_auth_policy(
119-
custom_url, credential, acs_url=endpoint, is_async=True
120-
),
121-
sdk_moniker=SDK_MONIKER,
122-
**kwargs,
123-
)
124-
else:
125-
self._client = AzureCommunicationCallAutomationService(
126-
endpoint,
127-
credential,
128-
api_version=api_version or DEFAULT_VERSION,
129-
authentication_policy=get_authentication_policy(endpoint, credential, is_async=True),
130-
sdk_moniker=SDK_MONIKER,
131-
**kwargs,
132-
)
109+
self._client = AzureCommunicationCallAutomationService(
110+
endpoint,
111+
credential,
112+
api_version=api_version or DEFAULT_VERSION,
113+
authentication_policy=get_authentication_policy(endpoint, credential, is_async=True),
114+
sdk_moniker=SDK_MONIKER,
115+
**kwargs,
116+
)
133117

134118
self._call_recording_client = self._client.call_recording
135119
self._downloader = ContentDownloader(self._call_recording_client)

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/aio/_call_connection_client_async.py

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
from .._generated.models._enums import RecognizeInputType
5656
from .._shared.auth_policy_utils import get_authentication_policy
5757
from .._shared.utils import parse_connection_str
58-
from .._credential.call_automation_auth_policy_utils import get_call_automation_auth_policy
59-
from .._credential.credential_utils import get_custom_enabled, get_custom_url
6058

6159
if TYPE_CHECKING:
6260
from ._call_automation_client_async import CallAutomationClient
@@ -104,28 +102,14 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential
104102
if not parsed_url.netloc:
105103
raise ValueError(f"Invalid URL: {format(endpoint)}")
106104

107-
custom_enabled = get_custom_enabled()
108-
custom_url = get_custom_url()
109-
if custom_enabled and custom_url is not None:
110-
self._client = AzureCommunicationCallAutomationService(
111-
custom_url,
112-
credential,
113-
api_version=api_version or DEFAULT_VERSION,
114-
authentication_policy=get_call_automation_auth_policy(
115-
custom_url, credential, acs_url=endpoint, is_async=True
116-
),
117-
sdk_moniker=SDK_MONIKER,
118-
**kwargs,
119-
)
120-
else:
121-
self._client = AzureCommunicationCallAutomationService(
122-
endpoint,
123-
credential,
124-
api_version=api_version or DEFAULT_VERSION,
125-
authentication_policy=get_authentication_policy(endpoint, credential, is_async=True),
126-
sdk_moniker=SDK_MONIKER,
127-
**kwargs,
128-
)
105+
self._client = AzureCommunicationCallAutomationService(
106+
endpoint,
107+
credential,
108+
api_version=api_version or DEFAULT_VERSION,
109+
authentication_policy=get_authentication_policy(endpoint, credential, is_async=True),
110+
sdk_moniker=SDK_MONIKER,
111+
**kwargs,
112+
)
129113
else:
130114
self._client = call_automation_client
131115

sdk/communication/azure-communication-callautomation/swagger/SWAGGER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ autorest SWAGGER.md
1717

1818
```yaml
1919
tag: package-2025-05-15
20-
require: https://github.com/Azure/azure-rest-api-specs/blob/8bf7f264d186b52eccb579accd3f584788511049/specification/communication/data-plane/CallAutomation/readme.md
20+
require: https://github.com/Azure/azure-rest-api-specs/blob/d87c0a3d1abbd1d1aa1b487d99e77769b6895ef4/specification/communication/data-plane/CallAutomation/readme.md
2121
output-folder: ../azure/communication/callautomation/_generated
2222
models-mode: msrest
2323
namespace: azure.communication.callautomation

0 commit comments

Comments
 (0)