-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Just raising this so we won't forget. Is the following print statement in run.py a debug left-over?
def queue_references(references: list, source_filename: str, source_bibcode: str, parsername: str) -> None:
"""
queues references for processing by preparing a task and sending it to the queue
:param references: a list of reference objects to be queued for processing
:param source_filename: the name of the source file from which references are being queued
:param source_bibcode: the bibcode associated with the source of the references
:param parsername: the name of the parser used to extract the references
:return: None
"""
resolver_service_url = config['REFERENCE_PIPELINE_SERVICE_URL'] + app.get_reference_service_endpoint(parsername)
for reference in references:
reference_task = {'reference': reference,
'source_bibcode': source_bibcode,
'source_filename': source_filename,
'resolver_service_url': resolver_service_url}
# tasks.task_process_reference.delay(reference_task)
print('---here')
tasks.task_process_reference(reference_task)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested