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 <[email protected]>
  • Loading branch information
malsyned and jerome-benoit authored Jun 12, 2024
1 parent b729d04 commit 9ab973a
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 @@ -390,7 +390,7 @@ class StatusNotificationPayload:

@dataclass
class TransactionEventPayload:
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 9ab973a

Please sign in to comment.