def set_or_create(self, path, *args, **kwargs):
d = self.set(path, *args, **kwargs)<EOL>@d.addErrback<EOL>def _error(result):<EOL><INDENT>return self.create(path, *args, **kwargs)<EOL><DEDENT>return d<EOL>
Sets the data of a node at the given path, or creates it.