Skip to content

Commit

Permalink
estudo: mais ideias
Browse files Browse the repository at this point in the history
  • Loading branch information
ErFer7 committed Jul 13, 2024
1 parent 1bafcff commit 27c07cb
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion metrify/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,34 @@

from typing import TypedDict

# Raw data types for the application


class RawIssue(TypedDict):
"""
RawIssue class
:ivar number: Number attribute for the raw issue object
:vartype number: int
"""

number: int
points: int
developer: str
tester: str
status: str


class RawProject(TypedDict):
"""
BoardSnapshot class
:ivar snapshot: Snapshot attribute for the board snapshot object
:vartype snapshot: dict
"""

issues: list[RawIssue]


class TeamMember(TypedDict):
"""
Expand Down Expand Up @@ -46,4 +74,4 @@ class Issue(TypedDict):
history: list[HistoryStatus]


__all__ = ["TeamMember", "HistoryStatus", "Issue"]
__all__ = ["RawIssue", "RawProject", "TeamMember", "HistoryStatus", "Issue"]

0 comments on commit 27c07cb

Please sign in to comment.