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

Implement DriverInterface class #86

Merged
merged 17 commits into from
Jul 17, 2024
Merged

Implement DriverInterface class #86

merged 17 commits into from
Jul 17, 2024

Conversation

PeterKraus
Copy link
Contributor

@PeterKraus PeterKraus commented May 31, 2024

This PR implements the tomato.models.ModelInterface class, which is an abstract class describing the interface with which tomato interacts with it's drivers. The drivers themselves should then expose a DriverInterface class when imported.

  • basic ModelInterface implementation
  • refactor ModelInterface out of tomato.models, but keep the import there
  • move example_counter into a tomato-example-counter module
  • add a read-only driver into a tomato-psutil module

Will close #74 and close #79.

@PeterKraus PeterKraus merged commit c971e68 into main Jul 17, 2024
12 checks passed
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.

New driver interface for tomato-1.0 Implement driver_reset
1 participant