Download part status
The DownloadPartStatus class representing the status of a download part item.
- class newsbinpro_client.downloadpartstatus.DownloadPartStatus(data: str = None)
Bases:
objectRepresents the status of parts of a file being downloaded. Tracks counts related to files, parsing status, download status, retries, and pause states.
- parse_data(data: str) None
Parses a string containing information about file counts and specific status counts (e.g., downloaded, downloading, incomplete, paused, retries). Updates the corresponding attributes of the object if the input string meets the expected format.
- Parameters:
data – A string input containing formatted information about file counts, parsing counts, and associated statuses.
- Returns:
None. Modifies instance attributes based on the parsed data.