def __deactivate_recipes(self, plugin, *args, **kwargs):
        """
        Deactivates/unregisters all recipes of the current plugin, if this plugin gets deactivated.
        """
        recipes = self.get()
        for recipe in recipes.keys():
            self.unregister(recipe)
def __deactivate_recipes ( self , plugin , * args , ** kwargs ) : recipes = self . get ( ) for recipe in recipes . keys ( ) : self . unregister ( recipe )
Deactivates/unregisters all recipes of the current plugin, if this plugin gets deactivated.