mobilityhouse / ocpp

Python implementation of the Open Charge Point Protocol (OCPP).
MIT License
766 stars 298 forks source link

Type hint of `DataTransfer.data` is incorrect, should be `str` #569

Closed OrangeTux closed 7 months ago

OrangeTux commented 7 months ago

@malsyned noticed that the changes in #537 are incorrect. The specification states that Datatransfer.data is of anyType. And anyType is defined as.

Text, data without specified length or format.

2024-01-15-152352_914x675_scrot

Commit 94e5ea57a5fdae7ea34b8ba35a719a0ef9b182a6 should be reverted.

OrangeTux commented 7 months ago

Won't fix, as current implementation is correct. See discussion in #570.