From 46b560b4278844a860952924242500f1d5bdfc1d Mon Sep 17 00:00:00 2001 From: "justin.kruse" Date: Sat, 30 Dec 2023 20:31:44 -0600 Subject: [PATCH] fix: give optional array a default value --- .../src/awssamples_rdsencrypt_hook/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/python-hooks/rds-encryption-verify/src/awssamples_rdsencrypt_hook/models.py b/hooks/python-hooks/rds-encryption-verify/src/awssamples_rdsencrypt_hook/models.py index 859bc48..aeca013 100644 --- a/hooks/python-hooks/rds-encryption-verify/src/awssamples_rdsencrypt_hook/models.py +++ b/hooks/python-hooks/rds-encryption-verify/src/awssamples_rdsencrypt_hook/models.py @@ -35,7 +35,7 @@ class HookHandlerRequest(BaseHookHandlerRequest): @dataclass class TypeConfigurationModel(BaseModel): - excludeDBInstanceClassList: Optional[Sequence[Any]] + excludeDBInstanceClassList: Optional[Sequence[Any]] = [] @classmethod def _deserialize(