Skip to content

Commit

Permalink
Exception occurrence constraint violation error doc string correction (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared-Newell-Mobility authored Nov 7, 2023
1 parent c6129db commit 5ba31b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
4 changes: 3 additions & 1 deletion ocpp/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 5ba31b2

Please sign in to comment.