Skip to content

Commit 6af1969

Browse files
authored
Alpha SDK Version Upgrade (Azure#40848)
* Upgraded alpha sdk version from 1.4.0-alpha to 1.5.0-alpha * Fixed pylint error.
1 parent 0eae710 commit 6af1969

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
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.0b2 (Unreleased)
3+
## 1.5.0b1 (Unreleased)
44

55
### Features Added
66

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_credential/call_automation_policy.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ class CallAutomationHMACCredentialsPolicy(SansIOHTTPPolicy):
2626

2727
def __init__(
2828
self,
29-
host, # type: str
30-
acs_url, # type: str
31-
access_key, # type: Union[str, AzureKeyCredential]
32-
decode_url=False, # type: bool
33-
):
34-
# type: (...) -> None
29+
host: str,
30+
acs_url: str,
31+
access_key: Union[str, AzureKeyCredential],
32+
decode_url: bool = False,
33+
) -> None:
3534
super(CallAutomationHMACCredentialsPolicy, self).__init__()
3635

3736
if host.startswith("https://"):
@@ -44,9 +43,7 @@ def __init__(
4443
self._decode_url = decode_url
4544
self._acs_url = acs_url
4645

47-
def _compute_hmac(
48-
self, value # type: str
49-
):
46+
def _compute_hmac(self, value: str) -> str:
5047
if isinstance(self._access_key, AzureKeyCredential):
5148
decoded_secret = base64.b64decode(self._access_key.key)
5249
else:

sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# license information.
55
# --------------------------------------------------------------------------
66

7-
VERSION = "1.4.0b2"
7+
VERSION = "1.5.0b1"
88

99
SDK_MONIKER = f"communication-callautomation/{format(VERSION)}"

0 commit comments

Comments
 (0)