@requires_auth<EOL><INDENT>def edit_pool(self, args):<DEDENT>
try:<EOL><INDENT>res = self.nip.edit_pool(args.get('<STR_LIT>'), args.get('<STR_LIT>'), args.get('<STR_LIT>'))<EOL>for pool in res:<EOL><INDENT>for val in ( '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>'):<EOL><INDENT>if pool[val] is not None:<EOL><INDENT>pool[val] = unicode(pool[val])<EOL><DEDENT><DEDENT><DEDENT>return res<EOL><DEDENT>except (AuthError, NipapError) as exc:<EOL><INDENT>self.logger.debug(unicode(exc))<EOL>raise Fault(exc.error_code, unicode(exc))<EOL><DEDENT>
Edit pool.

            Valid keys in the `args`-struct:

            * `auth` [struct]
                Authentication options passed to the :class:`AuthFactory`.
            * `pool` [struct]
                Specifies pool attributes to match.
            * `attr` [struct]
                Pool attributes to set.