<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def InitPathInfos(self, client_id, path_infos):
 """Initializes a collection of path info records for a client. Unlike `WritePathInfo`, this method clears stat and hash histories of paths associated with path info records. This method is intended to be used only in the data migration scripts. Args: client_id: A client identifier for which the paths are to be initialized. path_infos: A list of `rdf_objects.PathInfo` objects to write. """

    self.ClearPathHistory(client_id, path_infos)
    self.WritePathInfos(client_id, path_infos)