Skip to content

Commit 7b889b7

Browse files
Address PR review: revert _models.py change and add cryptography to pyproject.toml
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/5eb197c9-98b3-4aab-b6ff-e44add5af00e Co-authored-by: rohitsinghal4u <5697065+rohitsinghal4u@users.noreply.github.com>
1 parent 345cc69 commit 7b889b7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

sdk/keyvault/azure-keyvault-certificates/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ dev = [
9393
"azure-identity",
9494
"azure-keyvault-nspkg",
9595
"azure-sdk-tools",
96+
"cryptography>=44.0.2",
9697
"parameterized>=0.7.3",
9798
"pyopenssl",
9899
"python-dateutil>=2.8.0",

sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ def recovery_level(self) -> Optional[str]:
252252
return self._attributes.recovery_level if self._attributes else None
253253

254254
@property
255-
def tags(self) -> Optional[Dict[str, str]]:
255+
def tags(self) -> Dict[str, str]:
256256
"""Application specific metadata in the form of key-value pairs.
257257
258258
:returns: A dictionary of tags attached to the key.
259-
:rtype: dict[str, str] or None
259+
:rtype: dict[str, str]
260260
"""
261261
return self._tags
262262

0 commit comments

Comments
 (0)