Use type[] not Type[] in typehints, and add clarification comment.

This commit is contained in:
Julian Stirling 2026-01-12 14:56:10 +00:00
parent 560ca6e9fe
commit 06cab8a6a4
2 changed files with 10 additions and 7 deletions

View file

@ -210,6 +210,9 @@ class BaseCamera(lt.Thing):
:param main_resolution: the resolution to use for the main stream.
:param buffer_count: number of images in the stream buffer.
Note that the default values for both parameters should be set appropriately
for the specific camera when defining a new Camera Thing.
"""
raise NotImplementedError(
"CameraThings must define their own start_streaming method"