From a082cf37986936e79bbb887256fff083c93cbd19 Mon Sep 17 00:00:00 2001 From: Mohit Jain Date: Tue, 24 Sep 2024 12:41:15 +0530 Subject: [PATCH] Changed total_cost type from Optional[int] to Optional[float] --- ocpp/v201/call_result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocpp/v201/call_result.py b/ocpp/v201/call_result.py index 520537ce0..9bf387b26 100644 --- a/ocpp/v201/call_result.py +++ b/ocpp/v201/call_result.py @@ -389,7 +389,7 @@ class StatusNotification: @dataclass class TransactionEvent: - total_cost: Optional[int] = None + total_cost: Optional[float] = None charging_priority: Optional[int] = None id_token_info: Optional[Dict] = None updated_personal_message: Optional[Dict] = None