    def get_tasks(self) -> list:
        """Get session tasks as list.

        Returns
        -------
        list[rocketry.core.Task]
            List of tasks in the session.
        """
        return self.tasks
Get session tasks as list.

Returns
-------
list[rocketry.core.Task]
List of tasks in the session.
rocketry/session.py