MitchellHarrison / stream-environment

Python. Postgres. Docker. | Microservices in pursuit of a better, more interactive live stream. https://twitch.tv/mitchsworkshop
https://twitch.tv/mitchsworkshop
MIT License
20 stars 12 forks source link

remove unnecessary __init__() parameters with dataclasses #17

Closed MitchellHarrison closed 2 years ago

MitchellHarrison commented 2 years ago

ChatHandler and OutputHandler objects are incorrectly using constants and init() parameters. This could be cleaned up by making them each a dataclass and handling some logic normally done in init() elsewhere.