code: def set_task_object(self,
                          task_id,
                          task_progress_object):
          
          self.set_task(task_id=task_id,
                        total=task_progress_object.total,
                        prefix=task_progress_object.prefix,
                        suffix=task_progress_object.suffix,
                        decimals=task_progress_object.decimals,
                        bar_length=task_progress_object.bar_length,
                        keep_alive=task_progress_object.keep_alive,
                        display_time=task_progress_object.display_time)
docs: Defines a new progress bar with the given information using a TaskProgress object.
          :param task_id:                 Unique identifier for this progress bar. Will erase if already existing.
          :param task_progress_object:    TaskProgress object holding the progress bar information.