Skip to content

Commit aef3f46

Browse files
committed
lint
1 parent 77c9cfd commit aef3f46

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

recordprocessor/src/batch_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
def ingestion_progress(finished: bool, message_body: dict, row_count: int = 0, start_time: float = 0.0) -> str:
1717
return("Ingestion finished" if finished else "Ingestion started")
1818

19+
1920
def process_csv_to_fhir(incoming_message_body: dict) -> None:
2021
"""
2122
For each row of the csv, attempts to transform into FHIR format, sends a message to kinesis,

recordprocessor/src/logging_decorator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def wrapper(*args, **kwargs):
7070

7171
return wrapper
7272

73+
7374
def ingestion_logging_decorator(func):
7475
"""
7576
Sends the appropriate logs to Cloudwatch and Firehose based on ingestion started/finished.

recordprocessor/tests/test_logging_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ def test_splunk_logger_unhandled_failure(self):
254254
DeliveryStreamName=Firehose.STREAM_NAME, Record=expected_firehose_record
255255
)
256256

257-
# TODO: unit tests for ingestion decorator
257+
# TODO: unit tests for ingestion decorator

0 commit comments

Comments
 (0)