Home | Trees | Indices | Help |
|
---|
|
object --+ | base.structure.StructureBase --+ | object --+ | | | base.common.Parser --+ | base.structure.ParseableStructure --+ | base.structure.Structure --+ | object --+ | | | base.structure.RestrictionMixin --+ | rscdef.procdef.ProcDef --+ | rscdef.procdef.ProcApp --+ | DescriptorGenerator
A procedure application for making product descriptors for PUBDIDs
Despite the name, a descriptor generator has to *return* (not yield) a descriptor instance. While this could be anything, it is recommended to derive custom classes from prodocols.datalink.ProductDescrpitor, which exposes essentially the columns from DaCHS' product table as attributes. This is what you get when you don't define a descriptor generator in your datalink core.
The following names are available to the code:
If you made your pubDID using the ``getStandardPubDID`` rowmaker function, and you need no additional logic within the descriptor, the default (//soda#fromStandardPubDID) should do.
If you need to derive custom descriptor classes, you can see the base class under the name ProductDescriptor; there's also FITSProductDescriptor and DatalinkFault in each proc's namespace. If your Descriptor does not actually refer to something in the product table, it is likely that you want to set the descriptor's ``suppressAutoLinks`` attribute to True. This will stop DaCHS from attempting to add automatic #this and #preview links.
Nested Classes | |
Inherited from |
Instance Methods | |
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Methods | |
Inherited from |
Class Variables | |
name_ =
hash(x) |
|
requiredType =
hash(x) |
|
formalArgs =
|
|
additionalNamesForProcs =
|
|
Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Class Variable Details |
additionalNamesForProcs
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |