Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Remove deprecated dataclass #699

Merged
merged 2 commits into from
Jan 1, 2025
Merged

Conversation

jainmohit2001
Copy link
Collaborator

@jainmohit2001 jainmohit2001 commented Dec 31, 2024

Changes included in this PR

Breaking changes:

  • Removed all the deprecated dataclasses from call.py and call_result.py for OCPP 1.6 and OCPP 2.0.1.
  • Removed logic in charge_point.py where the deprecated dataclasses were being handled.

Impact

  • User's need to update the codebase and migrate from old dataclass nomenclature to the new one:
    • The old dataclasses had Payload at the end of the class name.
    • The new dataclasses don't have the Payload at the end of the class name.

Checklist

  1. Does your submission pass the existing tests?
  2. Are there new tests that cover these additions/changes?
  3. Have you linted your code locally before submission?

@jainmohit2001 jainmohit2001 merged commit 06e598e into master Jan 1, 2025
8 checks passed
@jainmohit2001 jainmohit2001 deleted the remove-deprecated-dataclass branch January 1, 2025 15:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants