@property<EOL><INDENT>def refresh(<EOL>self):<DEDENT>
if self.parent:<EOL><INDENT>self.parent.refresh<EOL><DEDENT>replace = None<EOL>title = self.title<EOL>for t in self.parent.tasks:<EOL><INDENT>if t.title == title:<EOL><INDENT>replace = t<EOL><DEDENT><DEDENT>if not replace:<EOL><INDENT>return<EOL><DEDENT>self.tags = replace.tags<EOL>self.notes = replace.notes<EOL>self.tasks = replace.tasks<EOL>self.content = replace.to_string(indentLevel=<NUM_LIT:0>, title=False)<EOL>return None<EOL>
*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