A suggestion of applying Observer Design Pattern to the DailyReport object.
Proposed Changes
In the file get_data.py, I apply the Observer Design Pattern to the class DailyReports. I created the subscriber to the DailyReports. So, every time the DailyReports updates, it will notify the subscriber. It benefits the client that they know the database is working and the DailyReportsis updated.
Related Issue:
Proposed Changes
get_data.py
, I apply theObserver Design Pattern
to the classDailyReports
. I created the subscriber to theDailyReports
. So, every time theDailyReports
updates, it will notify the subscriber. It benefits the client that they know the database is working and theDailyReports
is updated.Addtional Info
Checklist
Screenshots