ocpp
ocpp copied to clipboard
v201:call,call_result,datatypes: complete and corrected type annotations
I groveled through the v2.0.1 spec and updated all of the type signatures to be complete and accurate to the best of my ability.
I did this to support some work I'm doing to make a variant of @on
that converts the JSON back to Python objects, but I think it will be useful to anyone using the library with an IDE, so I'm submitting it as a separate pull request.
I think this change is a superset of #529 and contains all of those fixes.