nephos.maintenance.update_data
index
/media/hdd/Essentials/Chapter_Kgp_WOrk/GSoC/projectnephos_gsoc18/GSoC18Nephos/nephos/maintenance/update_data.py

Checks the NephosConfig (github.com/thealphadollar/NephosConfig) repository for change
in data and updates accordingly.

 
Modules
       
os
urllib

 
Classes
       
nephos.maintenance.checker.Checker(abc.ABC)
UpdateData

 
class UpdateData(nephos.maintenance.checker.Checker)
    Syncs the current data with the aforementioned repositories data
 
 
Method resolution order:
UpdateData
nephos.maintenance.checker.Checker
abc.ABC
builtins.object

Methods defined here:
__init__(self, config_maintain)
Initiates UpdateData
 
Parameters
----------
config_maintain
    type: dict
    contains the essential configuration required to run

Data and other attributes defined here:
__abstractmethods__ = frozenset([])

Methods inherited from nephos.maintenance.checker.Checker:
to_run(self, kind)
Checks from config file if the maintenance job is to be executed
 
Parameters
-------
kind
    type: str
    kind of the job to be executed
 
Returns
-------
executes self._executed() if to be executed
displays warning log otherwise

Data descriptors inherited from abc.ABC:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        CURRENT_DATA = '/home/thealpha/Nephos/config/add_data.yaml'
CURRENT_JOBS = '/home/thealpha/Nephos/config/add_jobs.yaml'
LOG = <logging.Logger object>
NEW_DATA = '/home/thealpha/Nephos/add_data.yaml'
NEW_JOBS = '/home/thealpha/Nephos/add_jobs.yaml'
__config_dir__ = '/home/thealpha/Nephos/config'
__nephos_dir__ = '/home/thealpha/Nephos'