Commit graph

5 commits

Author SHA1 Message Date
Ville Skyttä
317ed418dd
Use singleton enum for "not set" sentinels ()
* Use singleton enum for "not set" sentinel

https://www.python.org/dev/peps/pep-0484/#support-for-singleton-types-in-unions

* Remove unused variable
2020-12-19 12:46:27 +01:00
Bas Nijholt
4c5c34919d Sort imports according to PEP8 for camera () 2019-12-09 11:50:48 +01:00
Ville Skyttä
b738082dad Type check various base components ()
* Type check various component base classes, disabling bunch of checks for now

* Type hint fixes

* Help mypy out some

* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Jason Hunter
bad0a8b342
Camera Preferences + Preload Stream ()
* initial commit for camera preferences and preload stream

* cleanup and add tests

* respect camera preferences on each request stream call

* return the new prefs after update
2019-03-26 08:31:29 -04:00