[pytango] 362/483: Add documentation for get_attribute/command_poll_period

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit c02ca8d04495550042b58345f104904dca7a0e6b
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Thu Mar 27 09:57:38 2014 +0000

    Add documentation for get_attribute/command_poll_period
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@25318 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/boost/python/device_server.py | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/src/boost/python/device_server.py b/src/boost/python/device_server.py
index b14a795..b853213 100644
--- a/src/boost/python/device_server.py
+++ b/src/boost/python/device_server.py
@@ -1068,6 +1068,32 @@ def __doc_DeviceImpl():
         New in PyTango 7.1.2
     """ )
 
+    document_method("get_attribute_poll_period", """
+    get_attribute_poll_period(self, attr_name) -> int
+
+            Returns the attribute polling period (ms) or 0 if the attribute
+            is not polled.
+
+        Parameters :
+            - attr_name : (str) attribute name
+        Return     : (int) attribute polling period (ms) or 0 if it is not polled
+        
+        New in PyTango 8.0.0
+    """ )
+
+    document_method("get_command_poll_period", """
+    get_command_poll_period(self, cmd_name) -> int
+
+            Returns the command polling period (ms) or 0 if the command
+            is not polled.
+
+        Parameters :
+            - cmd_name : (str) command name
+        Return     : (int) command polling period (ms) or 0 if it is not polled
+        
+        New in PyTango 8.0.0
+    """ )
+    
     document_method("check_command_exists", """
     check_command_exists(self) -> None
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list