◆ __init__()
def ConsistencyChecker.ConsistencyChecker.__init__ |
( |
|
self | ) |
|
◆ check_consistency()
def ConsistencyChecker.ConsistencyChecker.check_consistency |
( |
|
self, |
|
|
|
directory |
|
) |
| |
Check the consistency of a given downloads folder.
Checks if a PLC reported yesterday but not today
- Parameters
-
directory | The path to the downloads folder to check |
◆ get_plcs_for_day()
def ConsistencyChecker.ConsistencyChecker.get_plcs_for_day |
( |
|
self, |
|
|
|
day, |
|
|
|
directory |
|
) |
| |
Get the PLCs that reported in on a given day based on the files posesed in the cache.
- Parameters
-
day | The datetime.date that should be checked |
directory | The path to the directory to check |
- Returns
- A set of PLC numbers
◆ email_client
ConsistencyChecker.ConsistencyChecker.email_client |
◆ email_login
ConsistencyChecker.ConsistencyChecker.email_login |
The documentation for this class was generated from the following file: