Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit dd2d3ef

Browse files
committed
add type hint for method
1 parent 7f0f367 commit dd2d3ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

localstack-core/localstack/services/kms/provider.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,9 @@ def _get_key_tags(self, key: KmsKey, account_id: str, region: str) -> TagList:
399399
def _set_key_tags(self, key: KmsKey, account_id: str, region: str, tags: TagList) -> None:
400400
return
401401

402-
def _remove_key_tags(self, key: KmsKey, account_id: str, region: str, tag_keys: TagKeyList):
402+
def _remove_key_tags(
403+
self, key: KmsKey, account_id: str, region: str, tag_keys: TagKeyList
404+
) -> None:
403405
# AWS doesn't seem to mind removal of a non-existent tag, so we do not raise any exception.
404406
for tag_key in tag_keys:
405407
key.tags.pop(tag_key, None)

0 commit comments

Comments
 (0)