Ejemplo n.º 1
0
 def attach_metadata(self, path, metadata):
     timeseries = self.timeseries.get(path, None)
     if timeseries is not None:
         timeseries.attach_metadata(metadata)
     else:
         self.metadata[path] = util.dict_merge(metadata, self.metadata[path])
Ejemplo n.º 2
0
 def attach_metadata(self, metadata):
     """
     Attaches metadata to this timeseries following update/insert policy
     """
     self.metadata = util.dict_merge(metadata, self.metadata)
     self.dirty = True