-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add Kamereon Client #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments, otherwise LGMT
src/renault_api/kamereon.py
Outdated
return cast( | ||
model.KamereonVehicleDataResponse, | ||
await self._request( | ||
schema=schema or model.KamereonVehicleDataResponseSchema, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why having schema or
here ?
schema
param is actually never set.
src/renault_api/kamereon.py
Outdated
return cast( | ||
model.KamereonVehicleDataResponse, | ||
await self._request( | ||
schema=schema or model.KamereonVehicleDataResponseSchema, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why having
schema or
here ?
schema
param is actually never set.
Same here
@Quentame it was planned for future use (when the ResponseData shemas are expanded) |
Or then 👌 |
* Add Kamereon client * Tidy up some descriptions * Add Kamereon actions * Fix pre-commit * Cleanup class * Cleanup headers * Remove schema
No description provided.