OxbridgeEconomics commited on
Commit
606a83f
·
1 Parent(s): e98d2ca
Files changed (1) hide show
  1. utils.py +1 -1
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['sentimentlabel']}
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)