From 5ba31b2dce59b0d651a246a7ec1bbf618f2dd4c3 Mon Sep 17 00:00:00 2001 From: Jared-Newell-Mobility <119603687+Jared-Newell-Mobility@users.noreply.github.com> Date: Tue, 7 Nov 2023 09:15:43 +0100 Subject: [PATCH] Exception occurrence constraint violation error doc string correction (#509) --- CHANGELOG.md | 2 ++ ocpp/exceptions.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 021a35bbd..f8dc26da5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change log +- [#508](https://github.com/mobilityhouse/ocpp/issues/508) Exception - OccurrenceConstraintViolationError doc string correction + ## 0.22.0 (2023-11-03) - [#493](https://github.com/mobilityhouse/ocpp/issues/493) Reduce use of NotSupportedError in favor of NotImplementedError. Thanks [drc38](@https://github.com/drc38). diff --git a/ocpp/exceptions.py b/ocpp/exceptions.py index 5afb23e76..cefba9549 100644 --- a/ocpp/exceptions.py +++ b/ocpp/exceptions.py @@ -108,6 +108,7 @@ class OccurenceConstraintViolationError(OCPPError): 5. Known issues that will not be fixed 5.1. Page 14, par 4.2.3: CallError: Typo in enum Typo in enum: OccurenceConstraintViolation + Valid in 2.0.1 """ code = "OccurenceConstraintViolation" @@ -121,7 +122,8 @@ class OccurenceConstraintViolationError(OCPPError): class OccurrenceConstraintViolationError(OCPPError): """ Not strict OCPP 1.6 - see OccurenceConstraintViolationError - Valid OCPP 2.0.1 + Not valid OCPP 2.0.1 + Valid in OCPP 2.1 """ code = "OccurrenceConstraintViolation"