in src/aws_secretsmanager_caching/config.py [0:0]
def __init__(self, **kwargs):
options = deepcopy(self.OPTION_DEFAULTS)
# Set config options based on given values
if kwargs:
for key, value in kwargs.items():
if key in options:
options[key] = value
# The key must exist in the available options
else:
raise TypeError(f"Unexpected keyword argument {key}")
# Set the attributes based on the config options
for key, value in options.items():
setattr(self, key, value)