Skip to content

Commit

Permalink
fix: remove mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Jun 27, 2024
1 parent 881612d commit 5062fe4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ape_aws/kms/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def ask_for_passphrase():
passphrase = ask_for_passphrase()
key_spec = ImportKeyRequest(
alias=alias_name,
description=description,
description=description, # type: ignore
admins=administrators,
users=users,
)
Expand All @@ -121,10 +121,10 @@ def ask_for_passphrase():
import_token = create_key_response["ImportToken"]
import_key_spec = ImportKey(
**key_spec.model_dump(),
key_id=key_id,
public_key=public_key,
private_key=private_key,
import_token=import_token,
key_id=key_id, # type: ignore
public_key=public_key, # type: ignore
private_key=private_key, # type: ignore
import_token=import_token, # type: ignore
)
response = kms_client.import_key(import_key_spec)
if response["ResponseMetadata"]["HTTPStatusCode"] != 200:
Expand Down

0 comments on commit 5062fe4

Please sign in to comment.