Skip to content

Commit

Permalink
v201:call_result:TransactionEvent: fix type of total_cost field
Browse files Browse the repository at this point in the history
Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
  • Loading branch information
malsyned and jerome-benoit committed Jun 12, 2024
1 parent 1c95486 commit 534be5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocpp/v201/call_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,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[datatypes.IdTokenInfoType] = None
updated_personal_message: Optional[datatypes.MessageContentType] = None
Expand Down

0 comments on commit 534be5d

Please sign in to comment.