Skip to content

Commit

Permalink
Add comment for DataTransferPayload to explain reason for type hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmclarty committed Jan 17, 2024
1 parent 862d45e commit a71fc59
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 @@ -87,7 +87,7 @@ class CustomerInformationPayload:
class DataTransferPayload:
status: str
status_info: Optional[Dict] = None
data: Optional[str] = None
data: Optional[str] = None # OCPP 2.0.1 Edition 2 specifies `AnyType` as text.
custom_data: Optional[Dict[str, Any]] = None


Expand Down

0 comments on commit a71fc59

Please sign in to comment.