code: def modify(self, **patch):
          
          if 'monitor' in patch:
              value = self._format_monitor_parameter(patch['monitor'])
              patch['monitor'] = value
          return super(Pool, self)._modify(**patch)
docs: Custom modify method to implement monitor parameter formatting.