"""
byceps.services.newsletter.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

from dataclasses import dataclass
from datetime import datetime
from typing import NewType

from ....typing import UserID


ListID = NewType('ListID', str)


@dataclass(frozen=True)
class List:
    id: ListID
    title: str


@dataclass(frozen=True)
class Subscription:
    user_id: UserID
    list_id: ListID
    expressed_at: datetime

@@ -224,90 +224,29 @@
 rom 
-datetime import datetime%0Afrom typing import NewType%0A%0Afrom ....typing import UserID
+typing import NewType
 %0A%0A%0AL
@@ -325,24 +325,24 @@
  id: ListID%0A
+
     title: s
@@ -348,117 +348,4 @@
 str%0A
-%0A%0A@dataclass(frozen=True)%0Aclass Subscription:%0A    user_id: UserID%0A    list_id: ListID%0A    expressed_at: datetime%0A

Remove unused newsletter DTO `Subscription`