Closed no-veternarian23 closed 3 months ago
@no-veternarian23
I don't think this is a bug.
In CP, the naming convention changes from camel case to snake case at this point .
Therefore, when writing CP code, you essentially write in snake_case
.
Thanks, missed that.
I am not sure if this is a bug, also my python knowledge is a little weak (i am mostly a Java programmer). But i noticed that all the dataclass definitions in the call.py file has incorrectly named the field
connectorId
asconnector_id
which is not as per the specification (this is for v16).And this is causing issues when building the payload objects using these data classes. For example when i am calling the below code, the code itself works. But since this is not as per the specification, when testing with a live charging station, this is failing.
Since i couldn't find anyone raising an issue over this, i am guessing im doing something wrong OR is it that my charging station is not designed correctly?