
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


from dataclasses import dataclass
from typing import NewType


ListID = NewType('ListID', str)


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

Remove unused newsletter DTO `Subscription`
Remove unused newsletter DTO `Subscription`

  
  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
- 
Remove unused newsletter DTO `Subscription`
## Code Before:

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

## Instruction:
Remove unused newsletter DTO `Subscription`
## Code After:

from dataclasses import dataclass
from typing import NewType


ListID = NewType('ListID', str)


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