def set_value(self, node, value):
        cookie = self._activate()
        try:
            # shifted contexts are immutable, with the exception of the now
            # node if the context is shifted by now
            if self._finalized \
            and self._shift_set \
            and not (node is _now_node and node in self._shift_set):
                raise AttributeError("Shifted contexts are read-only")

            # unwrap if necessary
            if isinstance(value, NowNodeValue):
                tmp = cython.declare(NowNodeValue)
                tmp = value
                value = tmp.value

            node.set_value(self, value)
        finally:
            self._deactivate(cookie)
Publish the Flocker documentation. The documentation for each version of
dataset/ETHPy150Open manahl/mdf/mdf/context.py/MDFContext.set_value--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/release.py/publish_docs