Typing fixes for the stream controller (#2540)
authorOzGav <gavnosp@hotmail.com>
Tue, 18 Nov 2025 09:53:26 +0000 (19:53 +1000)
committerGitHub <noreply@github.com>
Tue, 18 Nov 2025 09:53:26 +0000 (10:53 +0100)
commit4714ffe8ca0e8606c2f2d1a0804d0482ddb14366
treee2f374c0e9949eba92919555a477225ec2ee2a14
parentcc5d6448e27f533c0fc3d5e5b738c0de63f0fa6a
Typing fixes for the stream controller (#2540)

* work in progress

* mypy fixes for streams.py

* Fix typos

* Another typo

* PR review changes

* Fixes after merge conflicts

* Revert unnecessary change

* Remove unnecessary comments

* More changes post conflict resolve

* Remove exclude

* organise imports

* Updates post other commits

* Catch possible no stream details

* Updates for new commits

* Fix type error post conflict merge

* Simplify

* Simplify with type hints to config controller

* Typing adjustments

* Fix missing return type

* improve code clarity

* switch to assert for none check

* Fix return type mypy error

* Revert unnecessary bracket

* Use default parameter
music_assistant/controllers/streams.py
pyproject.toml