<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load(cls, v):
 """Load the action from configuration"""

        if v is None:
            return []
        if isinstance(v, list):
            return [ Action(s) for s in v ]
        elif isinstance(v, str):
            return [Action(v)]
        else:
            raise ParseError("Couldn't parse action: %r" % v)