Package gavo :: Package rscdef
[frames] | no frames]

Source Code for Package gavo.rscdef

 1  """ 
 2  Resources and their structures (DDs, TableDefs, etc), plus quite a bit  
 3  of source parsing. 
 4   
 5  The top-level resource descriptor currently is described in a top-level  
 6  modules.  This should probably change, it should go into this package; 
 7  that would take some work, though, since rscdesc currently needs to know 
 8  about grammars, cores, etc, available. 
 9  """ 
10   
11  #c Copyright 2008-2019, the GAVO project 
12  #c 
13  #c This program is free software, covered by the GNU GPL.  See the 
14  #c COPYING file in the source distribution. 
15   
16   
17  # Not checked by pyflakes: API file with gratuitous imports 
18   
19  from gavo.rscdef.builtingrammars import (GRAMMAR_REGISTRY, getGrammar) 
20   
21  from gavo.rscdef.column import (Column, Option, Values, makeOptions, 
22          Param, OldRoles) 
23   
24  from gavo.rscdef.common import (RDAttribute, ResdirRelativeAttribute, 
25          ColumnListAttribute, NamePathAttribute, ColumnList, IVOMetaMixin, 
26          getStandardPubDID, getAccrefFromStandardPubDID, getInputsRelativePath, 
27          replaceProcDefAt, getReferencedElement) 
28   
29  from gavo.rscdef.coverage import Coverage 
30   
31  from gavo.rscdef.dddef import (DataDescriptor, Make, 
32          SourceSpec) 
33   
34  from gavo.rscdef.group import Group, ParameterReference, ColumnReference 
35   
36  from gavo.rscdef.mixins import MixinDef 
37   
38  from gavo.rscdef.procdef import ProcDef, ProcApp 
39   
40  from gavo.rscdef.rmkdef import RowmakerDef, ParmakerDef, MapRule 
41   
42  from gavo.rscdef.rmkfuncs import (addProcDefObject, IgnoreThisRow, 
43          getFlatName) 
44   
45  from gavo.rscdef.rowtriggers import IgnoreOn, TriggerPulled 
46   
47  from gavo.rscdef.scripting import Script 
48   
49  from gavo.rscdef.tabledef import ( 
50          TableDef, makeTDForColumns, DBIndex) 
51