code: def ui(self, client='http://localhost:4200', **kwargs):
          
          if self._bundle is None or not self._bundle.is_client:
              raise ValueError("bundle must be in client mode")
  
          if len(kwargs):
              return self.filter(**kwargs).ui(client=client)
  
          querystr = "&".join(["{}={}".format(k, v)
                               for k, v in self._filter.items()])
          # print self._filter
          url = "{}/{}?{}".format(client, self._bundle._bundleid, querystr)
  
          logger.info("opening {} in browser".format(url))
          webbrowser.open(url)
          return url
docs: [NOT IMPLEMENTED]
  
          The bundle must be in client mode in order to open the web-interface.
          See :meth:`Bundle:as_client` to switch to client mode.
  
          :parameter str client: URL of the running client which must be connected
              to the same server as the bundle
          :return: URL of the parameterset of this bundle in the client (will also
              attempt to open webbrowser)
          :rtype: str