'Construct a SubtaskStatus object from a dict representation.'

@classmethod
def from_dict(cls, d):

    options = dict(d)
    task_id = options['task_id']
    del options['task_id']
    return SubtaskStatus.create(task_id, **options)
