From f390e5c7c5de3c4625e766077dd6cf15d352a5a2 Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Mon, 14 Mar 2022 16:58:13 +0100
Subject: [PATCH] added discription to setup_attribute function

---
 .../tangostationcontrol/clients/snmp_client.py                | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tangostationcontrol/tangostationcontrol/clients/snmp_client.py b/tangostationcontrol/tangostationcontrol/clients/snmp_client.py
index 486cf8dbe..0b2bbc048 100644
--- a/tangostationcontrol/tangostationcontrol/clients/snmp_client.py
+++ b/tangostationcontrol/tangostationcontrol/clients/snmp_client.py
@@ -106,6 +106,10 @@ class SNMP_client(CommClient):
     def setup_attribute(self, annotation, attribute):
         """
         MANDATORY function: is used by the attribute wrapper to get read/write functions. must return the read and write functions
+
+        Gets called from inside the attributet wrapper. It is provided with the attribute_warpper itself
+        and the annotation provided when the attribute_wrapper was declared.
+        These parameters can be used to configure a valid read and write function as return values.
         """
 
         # process the annotation
-- 
GitLab