The "create_subtask" function in the Task module of the nailgun.db.sqlalchemy.models package is used to create a subtask associated with a parent task. This function allows users to define a subtask by specifying its name, description, status, and parent task ID. The created subtask is then linked to the parent task, establishing a hierarchical relationship between the two. This function is useful for organizing and managing complex tasks that may have multiple subtasks.
Python Task.create_subtask - 25 examples found. These are the top rated real world Python examples of nailgun.db.sqlalchemy.models.Task.create_subtask extracted from open source projects. You can rate examples to help us improve the quality of examples.