Skip to content

Commit 81ca4e9

Browse files
test comment
1 parent 64badf3 commit 81ca4e9

File tree

1 file changed

+7
-5
lines changed
  • lambdas/govnotify_api_ingestion_repairs

1 file changed

+7
-5
lines changed

lambdas/govnotify_api_ingestion_repairs/main.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1+
# test
12
"""
23
Script to call the GovNotify API to retrieve data and write to S3.
34
Retrieved data is written to S3 Landing as a json string and parquet file.
45
Data is then normalised and written to s3 Raw for use by analysts.
56
Both 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
109
import json
1110
import logging
11+
from datetime import datetime
12+
from io import BytesIO
1213
from os import getenv
1314

14-
from botocore.exceptions import ClientError
1515
import boto3
16-
from notifications_python_client.notifications import NotificationsAPIClient
17-
from notifications_python_client.errors import HTTPError
1816
import 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
2123
logging.basicConfig(level=logging.INFO)

0 commit comments

Comments
 (0)