Skip to content

Commit

Permalink
Fix typo in word received
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Stallmann committed Aug 27, 2020
1 parent 58f73e4 commit 603bbd4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/asyncproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 3 additions & 3 deletions src/jobresultsproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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']
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion textract-pipeline/lambda/asyncprocessor/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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']
Expand All @@ -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)
Expand Down

0 comments on commit 603bbd4

Please sign in to comment.