We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the classes as defined in ocpp.*.call and ocpp.*.call_result have optional attributes. But the type hints don't always reflect that.
ocpp.*.call
ocpp.*.call_result
For example:
@dataclass class GetConfigurationPayload: key: List = None
This should become:
@dataclass class GetConfigurationPayload: key: Optional[List] = None
The text was updated successfully, but these errors were encountered:
Fix 'Optional' type hints (#132)
d998865
Fixes #127
Fix 'Optional' type hints (mobilityhouse#132)
a6b7f5d
Fixes mobilityhouse#127
OrangeTux
Successfully merging a pull request may close this issue.
Currently the classes as defined in
ocpp.*.call
andocpp.*.call_result
have optional attributes. But the type hints don't always reflect that.For example:
This should become:
The text was updated successfully, but these errors were encountered: