Exemplo n.º 1
0
 def pretty_zip_size(self):
     """
     Returns a prettified version (e.g., "725M") of the zip's size.
     """
     if not self.zip_size:
         return None
     return sizeformat(self.clean_zip_size)
 def pretty_zip_size(self):
     """
     Returns a prettified version (e.g., "725M") of the zip's size.
     """
     if not self.zip_size:
         return None
     return sizeformat(self.clean_zip_size)
Exemplo n.º 3
0
 def pretty_download_size(self):
     """
     Returns a prettified version (e.g., "725M") of the actual size of the downloaded zip.
     """
     if not self.download_zip_size:
         return None
     return sizeformat(self.download_zip_size)
Exemplo n.º 4
0
 def pretty_clean_size(self):
     """
     Returns a prettified version (e.g., "725M") of the zip of clean data files and error logs.
     """
     if not self.clean_zip_size:
         return None
     return sizeformat(self.clean_zip_size)
 def pretty_clean_size(self):
     """
     Returns a prettified version (e.g., "725M") of the zip of clean data files and error logs.
     """
     if not self.clean_zip_size:
         return None
     return sizeformat(self.clean_zip_size)
Exemplo n.º 6
0
 def pretty_expected_size(self):
     """
     Returns a prettified version (e.g., "725M") of the expected size of the downloaded zip.
     """
     if not self.expected_size:
         return None
     return sizeformat(self.expected_size)
 def pretty_download_size(self):
     """
     Returns a prettified version (e.g., "725M") of the actual size of the downloaded zip.
     """
     if not self.download_zip_size:
         return None
     return sizeformat(self.download_zip_size)
 def pretty_expected_size(self):
     """
     Returns a prettified version (e.g., "725M") of the expected size of the downloaded zip.
     """
     if not self.expected_size:
         return None
     return sizeformat(self.expected_size)
Exemplo n.º 9
0
 def pretty_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the processed file's size.
     """
     return sizeformat(self.file_size)
 def pretty_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the processed file's size.
     """
     return sizeformat(self.file_size)
Exemplo n.º 11
0
 def pretty_size(self):
     return sizeformat(self.size)
Exemplo n.º 12
0
 def pretty_clean_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the cleaned file's size.
     """
     return sizeformat(self.clean_file_size)
Exemplo n.º 13
0
 def pretty_download_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the downloaded file's size.
     """
     return sizeformat(self.download_file_size)
 def pretty_size(self):
     return sizeformat(self.size)
 def pretty_clean_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the cleaned file's size.
     """
     return sizeformat(self.clean_file_size)
 def pretty_download_file_size(self):
     """
     Returns a prettified version (e.g., "725M") of the downloaded file's size.
     """
     return sizeformat(self.download_file_size)