
from typing import NewType
from uuid import UUID

from attr import attrs


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@attrs(auto_attribs=True, frozen=True, slots=True)
class Match:
    id: MatchID


from dataclasses import dataclass
from typing import NewType
from uuid import UUID


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@dataclass(frozen=True)
class Match:
    id: MatchID

Change tourney match transfer model from `attrs` to `dataclass`
Change tourney match transfer model from `attrs` to `dataclass`

  
+ from dataclasses import dataclass
  from typing import NewType
  from uuid import UUID
- 
- from attr import attrs
  
  
  TourneyCategoryID = NewType('TourneyCategoryID', UUID)
  
  
  TourneyID = NewType('TourneyID', UUID)
  
  
  MatchID = NewType('MatchID', UUID)
  
  
  MatchCommentID = NewType('MatchCommentID', UUID)
  
  
  ParticipantID = NewType('ParticipantID', UUID)
  
  
- @attrs(auto_attribs=True, frozen=True, slots=True)
+ @dataclass(frozen=True)
  class Match:
      id: MatchID
  
Change tourney match transfer model from `attrs` to `dataclass`
## Code Before:

from typing import NewType
from uuid import UUID

from attr import attrs


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@attrs(auto_attribs=True, frozen=True, slots=True)
class Match:
    id: MatchID

## Instruction:
Change tourney match transfer model from `attrs` to `dataclass`
## Code After:

from dataclasses import dataclass
from typing import NewType
from uuid import UUID


TourneyCategoryID = NewType('TourneyCategoryID', UUID)


TourneyID = NewType('TourneyID', UUID)


MatchID = NewType('MatchID', UUID)


MatchCommentID = NewType('MatchCommentID', UUID)


ParticipantID = NewType('ParticipantID', UUID)


@dataclass(frozen=True)
class Match:
    id: MatchID
