Skip to content

Commit

Permalink
fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell committed Sep 17, 2019
1 parent de5b384 commit e45b288
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def create_key(
not_before=None, # type: Optional[datetime]
tags=None, # type: Optional[Dict[str, str]]
curve=None, # type: Optional[str]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> Key
"""Create a key. If ``name`` is already in use, create a new version of the key. Requires the keys/create
Expand Down Expand Up @@ -129,7 +129,7 @@ def create_rsa_key(
expires=None, # type: Optional[datetime]
not_before=None, # type: Optional[datetime]
tags=None, # type: Optional[Dict[str, str]]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> Key
"""Create a new RSA key. If ``name`` is already in use, create a new version of the key. Requires the
Expand Down Expand Up @@ -181,7 +181,7 @@ def create_ec_key(
expires=None, # type: Optional[datetime]
not_before=None, # type: Optional[datetime]
tags=None, # type: Optional[Dict[str, str]]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> Key
"""Create a new elliptic curve key. If ``name`` is already in use, create a new version of the key. Requires
Expand Down Expand Up @@ -428,7 +428,7 @@ def update_key(
expires=None, # type: Optional[datetime]
not_before=None, # type: Optional[datetime]
tags=None, # type: Optional[Dict[str, str]]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> Key
"""Change attributes of a key. Cannot change a key's cryptographic material. Requires the keys/update
Expand Down Expand Up @@ -536,7 +536,7 @@ def import_key(
not_before=None, # type: Optional[datetime]
expires=None, # type: Optional[datetime]
tags=None, # type: Optional[Dict[str, str]]
**kwargs # type: **Any
**kwargs # type: Any
):
# type: (...) -> Key
"""Import an externally created key. If ``name`` is already in use, import the key as a new version. Requires
Expand Down

0 comments on commit e45b288

Please sign in to comment.