You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Action(object):
description = ''
identifier = ''
label = ''
menu = ''
icon = ''
def is_available(self, ctx):
'''Return True if the action is available in the given context.'''
return True
def parameters(self, ctx):
'''Return a Cerberus Schema dict to validate arguments passed to `Action.run`.'''
return True
def run(self, *args, **kwargs):
'''The Actions main execution method.'''
Motivation
Make it easier to add custom menu items and actions.
Activity
[-]Reimplement Actions[/-][+]Refactor Actions for 0.2.x[/+]