OxbridgeEconomics
commited on
Commit
·
606a83f
1
Parent(s):
e98d2ca
commit
Browse files
utils.py
CHANGED
@@ -259,7 +259,7 @@ def update_content(report):
|
|
259 |
# 'sentimentLabel': {'S': report['sentimentLabel']},
|
260 |
':LastModifiedDate': {'S': datetime.now().strftime("%Y-%m-%dT%H:%M:%S")},
|
261 |
':sentimentScore': {'N': str(Decimal(str(report['sentimentScore'])).quantize(Decimal('0.01')))},
|
262 |
-
':sentimentLabel': {'S': report['
|
263 |
}
|
264 |
)
|
265 |
print(response)
|
|
|
259 |
# 'sentimentLabel': {'S': report['sentimentLabel']},
|
260 |
':LastModifiedDate': {'S': datetime.now().strftime("%Y-%m-%dT%H:%M:%S")},
|
261 |
':sentimentScore': {'N': str(Decimal(str(report['sentimentScore'])).quantize(Decimal('0.01')))},
|
262 |
+
':sentimentLabel': {'S': report['sentimentLabel']}
|
263 |
}
|
264 |
)
|
265 |
print(response)
|