def find_artifact_counts_newer(cls, datetime, **kw): counts = KeyCounter() for art in ArtifactInfo.find_newer(datetime, **kw): counts.increment(art.source_name) return counts.to_hash()
def find_newer(cls, timestamp, **kw): return ArtifactInfo.find_newer(timestamp, **kw)