Skip to content

Commit 1226376

Browse files
committed
fix typing for the TaggingService
1 parent a1874fc commit 1226376

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

localstack-core/localstack/utils/tagging.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33

44
class TaggingService:
5-
def __init__(self, key_field: str = None, value_field: str = None):
5+
def __init__(self, key_field: str = "Key", value_field: str = "Value"):
66
"""
77
:param key_field: the field name representing the tag key as used by botocore specs
88
:param value_field: the field name representing the tag value as used by botocore specs
99
"""
10-
self.key_field = key_field or "Key"
11-
self.value_field = value_field or "Value"
10+
self.key_field = key_field
11+
self.value_field = value_field
1212

1313
self.tags = {}
1414

0 commit comments

Comments
 (0)