Updated docstring
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Jul 2018 08:50:56 +0200
changeset 374 3e5b0d7e3c28
parent 373 a2435ed351a9
child 375 b0172b87669f
Updated docstring
src/pyams_skin/container.py
--- a/src/pyams_skin/container.py	Fri Jul 13 08:49:51 2018 +0200
+++ b/src/pyams_skin/container.py	Fri Jul 13 08:50:56 2018 +0200
@@ -105,7 +105,8 @@
         A NotFound exception is raised if argument is not provided or if given argument
         doesn't match an existing element.
     :param interface: container interface to which request's context should be adapted
-    :param attribute: name of the boolean attribute to be switcher
+    :param adapter_name: name of the adapter to be used to get given interface
+    :param attribute_name: name of the boolean attribute to be switched
     :return: a JSON object containing a boolean "attribute" property defining new element value.
     """
     context = request.context