diff --git a/app/helpers/common_helper.py b/app/helpers/common_helper.py index 1a4cd33..6eea8f3 100644 --- a/app/helpers/common_helper.py +++ b/app/helpers/common_helper.py @@ -6,7 +6,6 @@ def boolean_to_int(value: bool) -> int: else: return 0 - def is_float(element: str) -> bool: try: float(element) diff --git a/app/services/ability_estimation_service.py b/app/services/ability_estimation_service.py index 2227760..2f6b5f7 100644 --- a/app/services/ability_estimation_service.py +++ b/app/services/ability_estimation_service.py @@ -26,6 +26,6 @@ class AbilityEstimationService(Base): 'result': None }) - return aws_helper.file_stream_upload( - io.BytesIO(bytes(response.encode('UTF-8'))), self.file_name, - ApplicationConfigs.s3_processed_bucket, self.ACTION) + aws_helper.file_stream_upload( + io.BytesIO(bytes(response.encode('UTF-8'))), self.file_name, + ApplicationConfigs.s3_processed_bucket, self.ACTION)