forked from JeetShetty/GreenPiThumb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring method names in DbStore classes (JeetShetty#90)
The calling semantics of the DbStore classes are a bit redundant because we end up with calls like 'temperature_store.store_temperature'. The class name gives the type, so we don't have to repeat it in the method. I think if we do this, it opens up the door to some refactoring around managing multiple db store instances of different types.
- Loading branch information
Showing
4 changed files
with
55 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters