def refresh_viewset(self, design, datastore_name=None):
        ds, datastore_name = self._get_datastore(datastore_name)
        doc_id = self._get_design_name(design)
        try:
            design_doc = ds[doc_id]
            view_name = design_doc["views"].keys()[0]
            ds.view(self._get_view_name(design, view_name))
        except Exception:
            log.exception("Problem with design %s/%s", datastore_name, doc_id)
Get access token from MapboxAccessToken.
dataset/ETHPy150Open ooici/pyon/pyon/datastore/couchdb/base_store.py/CouchDataStore.refresh_viewset--crossover with--dataset/ETHPy150Open mapbox/mapbox-cli-py/tests/test_config.py/test_config_envvar_2