nephos.preprocessor.share_handler
index
/media/hdd/Essentials/Chapter_Kgp_WOrk/GSoC/projectnephos_gsoc18/GSoC18Nephos/nephos/preprocessor/share_handler.py

Class and methods required to handle sharing

 
Classes
       
builtins.object
ShareHandler

 
class ShareHandler(builtins.object)
    Class to manage all operations related to share lists
 
  Methods defined here:
add_share_entity(self)
Provides CLI to add a single share job
 
Returns
-------
display_shr_entities(self)
Displays list of share entities currently stored in the database
 
Returns
-------

Static methods defined here:
delete_entity()
Deletes share entity from the database
 
Returns
-------
grab_shr_list()
Extracts the table of currently stored channels
 
Returns
-------
type: tuple
tuple containing column values for all the channels
insert_share_entities(shr_data)
Adds channels to the database
 
Parameters
----------
shr_data
    type: dict
    dict of share entities' data to be appended to the share_list table
 
Returns
-------

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        CMD_DEL_SHRS = 'DELETE FROM share_list'
CMD_GET_SHRS = 'SELECT * FROM share_list'
LOG = <logging.Logger object>