refining impl

This commit is contained in:
brmnjsh 2023-09-18 14:01:50 +00:00
parent fff85981b1
commit 6fbafcc1ec
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,6 @@ def boolean_to_int(value: bool) -> int:
else:
return 0
def is_float(element: str) -> bool:
try:
float(element)

View File

@ -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)