def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def update_on():
  global _updating
  if not '_updating' in globals(): _updating = False
  if _updating: return