code: def refresh(
              self):
          
  
          if self.parent:
              self.parent.refresh
  
          replace = None
          title = self.title
          for t in self.parent.tasks:
              if t.title == title:
                  replace = t
          if not replace:
              return
  
          self.tags = replace.tags
  
          self.notes = replace.notes
          self.tasks = replace.tasks
  
          self.content = replace.to_string(indentLevel=0, title=False)
  
          return None
docs: *Refreshs this tasks's attributes if, for example, the parent document's projects or tasks has been sorted*
  
          **Usage:**
  
              To refresh the task:
  
              .. code-block:: python
  
                  aTask.refresh