Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in word received #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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