diff --git a/src/asyncproc.py b/src/asyncproc.py index 623d9c61..aa30607b 100644 --- a/src/asyncproc.py +++ b/src/asyncproc.py @@ -96,7 +96,7 @@ def getMessagesFromQueue(sqs, qUrl,): VisibilityTimeout=60 #14400 ) - print('SQS Response Recieved:') + print('SQS Response Received:') print(response) if('Messages' in response): diff --git a/src/jobresultsproc.py b/src/jobresultsproc.py index cdc8c260..c28dd32c 100644 --- a/src/jobresultsproc.py +++ b/src/jobresultsproc.py @@ -18,7 +18,7 @@ def getJobResults(api, jobId): else: response = client.get_document_analysis(JobId=jobId) pages.append(response) - print("Resultset page recieved: {}".format(len(pages))) + print("Resultset page received: {}".format(len(pages))) nextToken = None if('NextToken' in response): nextToken = response['NextToken'] @@ -33,7 +33,7 @@ def getJobResults(api, jobId): response = client.get_document_analysis(JobId=jobId, NextToken=nextToken) pages.append(response) - print("Resultset page recieved: {}".format(len(pages))) + print("Resultset page received: {}".format(len(pages))) nextToken = None if('NextToken' in response): nextToken = response['NextToken'] @@ -58,7 +58,7 @@ def processRequest(request): pages = getJobResults(jobAPI, jobId) - print("Result pages recieved: {}".format(len(pages))) + print("Result pages received: {}".format(len(pages))) dynamodb = AwsHelper().getResource("dynamodb") ddb = dynamodb.Table(outputTable) diff --git a/textract-pipeline/lambda/asyncprocessor/lambda_function.py b/textract-pipeline/lambda/asyncprocessor/lambda_function.py index 623d9c61..aa30607b 100644 --- a/textract-pipeline/lambda/asyncprocessor/lambda_function.py +++ b/textract-pipeline/lambda/asyncprocessor/lambda_function.py @@ -96,7 +96,7 @@ def getMessagesFromQueue(sqs, qUrl,): VisibilityTimeout=60 #14400 ) - print('SQS Response Recieved:') + print('SQS Response Received:') print(response) if('Messages' in response): diff --git a/textract-pipeline/lambda/jobresultprocessor/lambda_function.py b/textract-pipeline/lambda/jobresultprocessor/lambda_function.py index cdc8c260..c28dd32c 100644 --- a/textract-pipeline/lambda/jobresultprocessor/lambda_function.py +++ b/textract-pipeline/lambda/jobresultprocessor/lambda_function.py @@ -18,7 +18,7 @@ def getJobResults(api, jobId): else: response = client.get_document_analysis(JobId=jobId) pages.append(response) - print("Resultset page recieved: {}".format(len(pages))) + print("Resultset page received: {}".format(len(pages))) nextToken = None if('NextToken' in response): nextToken = response['NextToken'] @@ -33,7 +33,7 @@ def getJobResults(api, jobId): response = client.get_document_analysis(JobId=jobId, NextToken=nextToken) pages.append(response) - print("Resultset page recieved: {}".format(len(pages))) + print("Resultset page received: {}".format(len(pages))) nextToken = None if('NextToken' in response): nextToken = response['NextToken'] @@ -58,7 +58,7 @@ def processRequest(request): pages = getJobResults(jobAPI, jobId) - print("Result pages recieved: {}".format(len(pages))) + print("Result pages received: {}".format(len(pages))) dynamodb = AwsHelper().getResource("dynamodb") ddb = dynamodb.Table(outputTable)