def enable_root_user(self, session):
        url = utils.urljoin(self.base_path, self.id, 'root')
        resp = session.post(url, endpoint_filter=self.service)
        return resp.json()['user']
Enable login for the root user.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/database/v1/instance.py/Instance.enable_root_user