From a4c78349ef03b047a8790d813045648381772017 Mon Sep 17 00:00:00 2001 From: SKAJohanVenter <aventer@ska.ac.za> Date: Mon, 8 Nov 2021 17:06:00 +0200 Subject: [PATCH] SAR-287 Updated docstrings --- src/ska_tango_base/subarray/subarray_device.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ska_tango_base/subarray/subarray_device.py b/src/ska_tango_base/subarray/subarray_device.py index 8dca8394..d030a185 100644 --- a/src/ska_tango_base/subarray/subarray_device.py +++ b/src/ska_tango_base/subarray/subarray_device.py @@ -187,7 +187,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.release_all() @@ -232,7 +232,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.configure(argin) @@ -277,7 +277,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.scan(argin) @@ -319,7 +319,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.end_scan() @@ -361,7 +361,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.deconfigure() @@ -403,7 +403,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.abort() @@ -445,7 +445,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.obsreset() @@ -487,7 +487,7 @@ class SKASubarray(SKAObsDevice): :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. - :rtype: ([ResultCode], [str]) + :rtype: (ResultCode, str) """ component_manager = self.target component_manager.restart() -- GitLab