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
2 people authored and jainmohit2001 committed Oct 1, 2024
1 parent 1d1d530 commit d9d06e4
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 d9d06e4

Please sign in to comment.