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

fix: clarify ApiImpl which methods are required or not #681

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maruel
Copy link
Contributor

@maruel maruel commented Nov 13, 2024

Self-document better.

Make update_geocoded_location() a staticmethod since it doesn't depend on self.


def set_charge_limits(
self, token: Token, vehicle: Vehicle, ac: int, dc: int
) -> str:
"""Sets charge limits. Returns the tracking ID"""
pass
raise NotImplementedError("required")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this match set_charging_current? Same with the other items above.

Self-document better.

Make update_geocoded_location() a staticmethod since it doesn't depend
on self.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants