Source code for base_plugin



[docs] class Plugin(object): def __init__(self): """ This is the base class that each plugin must inheritance from. Within this class you have to define the methods that all of your plugins must implement. """ self.description = "UNKNOWN"
[docs] def perform_operation(self, argument): """ The method that we expect all plugins to implement. this is the framework our method will call. Args: argument (): The object widget from main application. Returns: None """ raise NotImplementedError