Skip to content

Commit

Permalink
Changed total_cost type from Optional[int] to Optional[float]
Browse files Browse the repository at this point in the history
  • Loading branch information
jainmohit2001 committed Sep 24, 2024
1 parent d59ecf1 commit 15d25f3
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 @@ -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
Expand Down

0 comments on commit 15d25f3

Please sign in to comment.