code: def set_metadata_for_node(self, node, metadata):
          
          return self.manager.set_metadata(self, metadata, node=node)
docs: Sets the metadata for the specified node to the supplied dictionary
          of values. Any existing metadata is cleared.