Some question about how to use action.py

I use rasa for a little try, but some question I don’t understand.

when I run rasa, this actions server can’t used.

my actions python code:

class ActionRestart(Action):

def name(self):
    return 'action_restarted'

def run(self, dispatcher, tracker, domain):
    return [Restarted()]

class ActionSlotReset(Action):

def name(self):
    return 'action_slot_reset'

def run(self, dispatcher, tracker, domain):
    return [AllSlotsReset()]

and I see the doc in https://rasa.com/docs/core/customactions/ action_restart is default actions. Can someone help me solve this problem?

you have issue in this class remove &#32 you are getting error because of this

sorry, this a space character, I forgot to delete it when I was editing.My fault.

I look Migration Guide, solved the problem