def update_workspace_info(self, name, info):
        """Updates the editable information for the saved view with the given
        name.

        Examples::

            import fiftyone as fo
            import fiftyone.zoo as foz

            dataset = foz.load_zoo_dataset("quickstart")

            workspace = fo.Space()
            dataset.save_workspace("test", view)

            # Update the workspace's name and add a description, color
            info = dict(
                name="a new name",
                color="#FF6D04",
                description="a description",
            )
            dataset.update_workspace_info("test", info)

        Args:
            name: the name of a saved workspace
            info: a dict whose keys are a subset of the keys returned by
                :meth:`get_workspace_info`
        """
        workspace_doc = self._get_workspace_doc(name)

        invalid_fields = set(info.keys()) - set(workspace_doc._EDITABLE_FIELDS)
        if invalid_fields:
            raise ValueError("Cannot edit fields %s" % invalid_fields)

        edited = False
        for key, value in info.items():
            if value != getattr(workspace_doc, key):
                if key == "name":
                    slug = self._validate_workspace_name(
                        value, skip=workspace_doc
                    )
                    workspace_doc.slug = slug

                setattr(workspace_doc, key, value)
                edited = True

        if edited:
            workspace_doc.save()
Updates the editable information for the saved view with the given
        name.

        Examples::

            import fiftyone as fo
            import fiftyone.zoo as foz

            dataset = foz.load_zoo_dataset("quickstart")

            workspace = fo.Space()
            dataset.save_workspace("test", view)

            # Update the workspace's name and add a description, color
            info = dict(
                name="a new name",
                color="#FF6D04",
                description="a description",
            )
            dataset.update_workspace_info("test", info)

        Args:
            name: the name of a saved workspace
            info: a dict whose keys are a subset of the keys returned by
                :meth:`get_workspace_info`
        
fiftyone/core/dataset.py