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