comparison piecrust/pipelines/_procrecords.py @ 855:448710d84121

refactor: Get the taxonomy support back to a functional state. There's now a taxonomy content source that wraps another normal content source like a blog posts' source. It works in tandem with a taxonomy content pipeline that will do the heavy lifting of figuring out what kind of terms exist and need to be baked.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 06 Jun 2017 00:26:21 -0700
parents 08e02c2a2a1a
children 8adc27285d93
comparison
equal deleted inserted replaced
854:08e02c2a2a1a 855:448710d84121
35 35
36 def describe(self): 36 def describe(self):
37 d = super().describe() 37 d = super().describe()
38 d['Flags'] = get_flag_descriptions(self.flags, flag_descriptions) 38 d['Flags'] = get_flag_descriptions(self.flags, flag_descriptions)
39 d['Processing Tree'] = _format_proc_tree(self.proc_tree, 20 * ' ') 39 d['Processing Tree'] = _format_proc_tree(self.proc_tree, 20 * ' ')
40 d['Outputs'] = list(self.out_paths)
41 return d 40 return d
41
42 def getAllOutputPaths(self):
43 return self.out_paths
42 44
43 45
44 flag_descriptions = { 46 flag_descriptions = {
45 AssetPipelineRecordEntry.FLAG_PREPARED: 'prepared', 47 AssetPipelineRecordEntry.FLAG_PREPARED: 'prepared',
46 AssetPipelineRecordEntry.FLAG_PROCESSED: 'processed', 48 AssetPipelineRecordEntry.FLAG_PROCESSED: 'processed',