We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1874fc commit 1226376Copy full SHA for 1226376
localstack-core/localstack/utils/tagging.py
@@ -2,13 +2,13 @@
2
3
4
class TaggingService:
5
- def __init__(self, key_field: str = None, value_field: str = None):
+ def __init__(self, key_field: str = "Key", value_field: str = "Value"):
6
"""
7
:param key_field: the field name representing the tag key as used by botocore specs
8
:param value_field: the field name representing the tag value as used by botocore specs
9
10
- self.key_field = key_field or "Key"
11
- self.value_field = value_field or "Value"
+ self.key_field = key_field
+ self.value_field = value_field
12
13
self.tags = {}
14
0 commit comments