'Initializes instance with given fields.
:type script: basestring
:type side_effect: (Command, basestring) -> None
:type priority: int'

def __init__(self, script, side_effect, priority):

    self.script = script
    self.side_effect = side_effect
    self.priority = priority
