code: def configure(self, inputs, outputs):
          
          url = self._client._build_url('activity', activity_id=self.id)
  
          r = self._client._request('PUT', url, params={'select_action': 'update_associations'}, json={
              'inputs': [p.id for p in inputs],
              'outputs': [p.id for p in outputs]
          })
  
          if r.status_code != requests.codes.ok:  # pragma: no cover
              raise APIError("Could not configure activity")
docs: Configure activity input and output.
  
          You need to provide a list of input and output :class:`Property`. Does not work with lists of propery id's.
  
          :param inputs: iterable of input property models
          :type inputs: list(:class:`Property`)
          :param outputs: iterable of output property models
          :type outputs: list(:class:`Property`)
          :raises APIError: when unable to configure the activity