Less boilerplate: dataclasses
Your task In the code box, write a dataclass Ticket with the fields priority: int, title: str and tags: list that defaults to a new empty list for each ticket. Then press Run my code.
Getting the editor ready
Your task In the code box, write a dataclass Ticket with the fields priority: int, title: str and tags: list that defaults to a new empty list for each ticket. Then press Run my code.
Getting the editor ready