Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused ThreadEmail model #62

Merged
merged 1 commit into from
Aug 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions jmapc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
StateChange,
StrOrRef,
Thread,
ThreadEmail,
TypeState,
UndoStatus,
)
Expand Down Expand Up @@ -80,7 +79,6 @@
"StateChange",
"StrOrRef",
"Thread",
"ThreadEmail",
"TypeState",
"UndoStatus",
"auth",
Expand Down
3 changes: 1 addition & 2 deletions jmapc/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
SetError,
StrOrRef,
)
from .thread import Thread, ThreadEmail
from .thread import Thread

__all__ = [
"AddedItem",
Expand Down Expand Up @@ -70,7 +70,6 @@
"StateChange",
"StrOrRef",
"Thread",
"ThreadEmail",
"TypeState",
"UndoStatus",
]
8 changes: 0 additions & 8 deletions jmapc/models/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,3 @@ def __len__(self) -> int:

id: str
email_ids: List[str]


@dataclass
class ThreadEmail(Model):
id: str
mailbox_ids: List[str]
is_unread: bool
is_flagged: bool