class_docstr: This class uploads a source file with presigned url to S3.
  
  Attributes
  ----------
  source_file: str
      Source file to upload
  presigned_url: str
      Presigned urls dictionary, with key as part number and values as urls
  retries: int
      Amount of retries when requests encounter an error
  total_size: int
      Size of all files to upload
  name: str
      Name of this upload to display progress
code: def __init__(
      self,
      presigned_url: str,
      source_file: str,
      total_size: int,
      name: str,
      use_progress: bool = True,
  ):
      self.presigned_url = presigned_url
      self.source_file = source_file
      self.total_size = total_size
      self.name = name
      self.use_progress = use_progress
      self.task_id = None
  
file_path: pytorch-lightning/src/lightning/app/source_code/uploader.py
imports: import time
  import requests
  from requests.adapters import HTTPAdapter
  from rich.progress import BarColumn, Progress, TextColumn
  from urllib3.util.retry import Retry
label_desc: Use image node_id 1 to create a new FileUploader object  with example: obj = FileUploader(presigned_url, source_file, total_size, name, use_progress)