Skip to content

Feature: Add priority levels to Task #9

Description

@ryanjmichie-git

Tasks need a priority so users can triage their lists.

Requirements:

  • Each Task has a priority attribute with allowed values: low, medium, high. Default is medium.
  • Creating or setting a Task with any other priority value raises ValueError.
  • TaskStore gains a filter_by_priority(priority) method returning tasks matching the given priority.
  • Existing behavior (creation, completion, serialization) is unchanged for tasks that never set a priority.

This is a v1.1.0 hands-on test issue for ForgeProof.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions