remove print statements

This commit is contained in:
Josh Burman 2021-11-02 03:32:35 +00:00
parent 3a95003493
commit 5a2871b102
3 changed files with 0 additions and 4 deletions

View File

@ -9,7 +9,6 @@ from sqs_listener import SqsListener
class ServiceListener(SqsListener):
def handle_message(self, body, attributes, messages_attributes):
# gather/manage/process data based on the particular needs
print(f'{time.localtime()} - message received...')
service = LoftService(body)
service.process()
# log the things

View File

@ -1,5 +1,4 @@
class Base:
def __init__(self, source, ingest_type='message'):
print(f'creating instance of service of type LOFT...')
self.ingest_type = ingest_type
self.source = source

View File

@ -38,7 +38,6 @@ class LoftService(Base):
return attributes
def generate_solution(self):
print("generating solution...")
# temporary data for mocks
form_count = 10
@ -55,7 +54,6 @@ class LoftService(Base):
)
def stream_to_s3_bucket(self):
print("streaming solution to s3...")
# setup writer buffer and write processed forms to file
buffer = io.StringIO()
solution_file = service_helper.solution_to_file(buffer, self.solver_run.total_form_items, self.solution.forms)