SIENTIAPDE-1712
SIENTIAPDE-1712 Convert confidence_value to float in API class to ensure consistent data type for value assignment in activity monitoring.
This commit is contained in:
@@ -279,7 +279,7 @@ class API(SientiaMonitoring):
|
|||||||
web_ids=confidence_tags,
|
web_ids=confidence_tags,
|
||||||
value={
|
value={
|
||||||
'Timestamp': data.head(1)['timestamp'].values[0],
|
'Timestamp': data.head(1)['timestamp'].values[0],
|
||||||
'Value': confidence_value,
|
'Value': float(confidence_value),
|
||||||
},
|
},
|
||||||
metadata=metadata,
|
metadata=metadata,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user