<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parents(self) -> List[str]: """ Return the list of parents SHAs. :return: List[str] parents """

        parents = []
        for p in self._c_object.parents:
            parents.append(p.hexsha)
        return parents