Skip to content

Commit a33fdae

Browse files
author
tejasgn
committed
fixing validation errors
1 parent ca3be9f commit a33fdae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.tools/lambda/KB_Updater.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import boto3
25
import json
36
import datetime
@@ -112,7 +115,7 @@ def lambda_handler(event, context):
112115
"name": data_source_name,
113116
"is_new": is_new
114117
},
115-
"ingestion_job": None,
118+
"ingestion_job": {},
116119
"statistics": None
117120
}
118121

0 commit comments

Comments
 (0)