ocpp icon indicating copy to clipboard operation
ocpp copied to clipboard

v201:call,call_result,datatypes: complete and corrected type annotations

Open malsyned opened this issue 1 year ago • 5 comments

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.

malsyned avatar Jan 05 '24 15:01 malsyned

I think this change is a superset of #529 and contains all of those fixes.

malsyned avatar Jan 05 '24 16:01 malsyned