# HG changeset patch # User Thierry Florac # Date 1531464656 -7200 # Node ID 3e5b0d7e3c28dd2ad9a7bc3a61a210c19b701b84 # Parent a2435ed351a94085a3d229b7dea82dbbf7f30012 Updated docstring diff -r a2435ed351a9 -r 3e5b0d7e3c28 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