refining impl
This commit is contained in:
parent
fff85981b1
commit
6fbafcc1ec
@ -6,7 +6,6 @@ def boolean_to_int(value: bool) -> int:
|
|||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def is_float(element: str) -> bool:
|
def is_float(element: str) -> bool:
|
||||||
try:
|
try:
|
||||||
float(element)
|
float(element)
|
||||||
|
@ -26,6 +26,6 @@ class AbilityEstimationService(Base):
|
|||||||
'result': None
|
'result': None
|
||||||
})
|
})
|
||||||
|
|
||||||
return aws_helper.file_stream_upload(
|
aws_helper.file_stream_upload(
|
||||||
io.BytesIO(bytes(response.encode('UTF-8'))), self.file_name,
|
io.BytesIO(bytes(response.encode('UTF-8'))), self.file_name,
|
||||||
ApplicationConfigs.s3_processed_bucket, self.ACTION)
|
ApplicationConfigs.s3_processed_bucket, self.ACTION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user