Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

2.0.1 Optional fields in datatypes require the default of None #530

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change log


- [#528](https://github.com/mobilityhouse/ocpp/issues/528) v2.0.1 CertificateHashDataChainType childCertificateHashData requires the default of None
- [#510](https://github.com/mobilityhouse/ocpp/issues/510) v2.0.1 UnitOfMeasureType - Enums missing and update docstring to allow use for variableCharacteristics
- [#508](https://github.com/mobilityhouse/ocpp/issues/508) Exception - OccurrenceConstraintViolationError doc string correction

Expand Down
2 changes: 1 addition & 1 deletion ocpp/v201/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CertificateHashDataChainType:

certificate_type: enums.GetCertificateIdUseType
certificate_hash_data: CertificateHashDataType
child_certificate_hash_data: Optional[List[CertificateHashDataType]]
child_certificate_hash_data: Optional[List[CertificateHashDataType]] = None


@dataclass
Expand Down
Loading