File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
lambdas/govnotify_api_ingestion_repairs Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ # test
12"""
23Script to call the GovNotify API to retrieve data and write to S3.
34Retrieved data is written to S3 Landing as a json string and parquet file.
45Data is then normalised and written to s3 Raw for use by analysts.
56Both zones are crawled so that data is exposed in the Glue data catalog.
67"""
78
8- from datetime import datetime
9- from io import BytesIO
109import json
1110import logging
11+ from datetime import datetime
12+ from io import BytesIO
1213from os import getenv
1314
14- from botocore .exceptions import ClientError
1515import boto3
16- from notifications_python_client .notifications import NotificationsAPIClient
17- from notifications_python_client .errors import HTTPError
1816import pandas as pd
17+ from botocore .exceptions import ClientError
18+ from notifications_python_client .errors import HTTPError
19+ from notifications_python_client .notifications import NotificationsAPIClient
20+
1921
2022# Set up logging
2123logging .basicConfig (level = logging .INFO )
You can’t perform that action at this time.
0 commit comments