From 8c8c6568c3f3ad0ab98a567242132b6a783d502f Mon Sep 17 00:00:00 2001 From: jaknapper Date: Fri, 16 May 2025 15:29:31 +0100 Subject: [PATCH] Updated docstring for start_streaming --- src/openflexure_microscope_server/things/camera/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/camera/__init__.py b/src/openflexure_microscope_server/things/camera/__init__.py index dcdf3e8f..4916e40f 100644 --- a/src/openflexure_microscope_server/things/camera/__init__.py +++ b/src/openflexure_microscope_server/things/camera/__init__.py @@ -81,7 +81,7 @@ class CameraProtocol(Protocol): def start_streaming(self, main_resolution, buffer_count) -> None: """Start (or stop and restart) the camera with the given resolution - for the main stream""" + for the main stream, and buffer_count number of images in the buffer""" ... def capture_image(self, stream_name, wait): @@ -195,7 +195,7 @@ class CameraStub(BaseCamera): @thing_action def start_streaming(self, main_resolution, buffer_count) -> None: """Start (or stop and restart) the camera with the given resolution - for the main stream""" + for the main stream, and buffer_count number of images in the buffer""" raise NotImplementedError("Cameras must not inherit from CameraStub") @thing_action