Home | Trees | Indices | Help |
|
---|
|
object --+ | base.structure.StructureBase --+ | object --+ | | | base.common.Parser --+ | base.structure.ParseableStructure --+ | base.structure.Structure --+ | object --+ | | | base.meta.MetaMixin --+ | | | base.meta.ComputedMetaMixin --+ | object --+ | | | base.macros.MacroPackage --+ | | | base.macros.StandardMacroMixin --+ | object --+ | | | rscdef.common.IVOMetaMixin --+ | Service
A service definition. A service is a combination of a core and one or more renderers. They can be published, and they carry the metadata published into the VO. You can set the defaultSort property on the service to a name of an output column to preselect a sort order. Note again that this will slow down responses for all but the smallest tables unless there is an index on the corresponding column. Properties evaluated: * defaultSort -- a key to sort on by default with the form renderer. This differs from the dbCore's sortKey in that this does not suppress the widget itself, it just sets a default for its value. Don't use this unless you have to; the combination of sort and limit can have disastrous effects on the run time of queries. * votableRespectsOutputTable -- usually, VOTable output puts in all columns from the underlying database table with low enough verbLevel (essentially). When this property is "True" (case-sensitive), that's not done and only the service's output table is evaluated.
Nested Classes | |
Inherited from |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Methods | |
Inherited from |
Class Variables | |
name_ =
a sentinel for all kinds of undefined values. |
|
metaModel =
|
|
htmlLikeFormats =
|
|
attrSeq =
|
|
managedAttrs =
|
|
Inherited from Inherited from |
Properties | |
isVOPublished is true if there is any ivo_managed publication on this service. |
|
customPage | |
rd | |
Inherited from |
Method Details |
repr(x)
|
|
|
returns a user UWS instance for this service. This is a service for the UWSAsyncRenderer. |
returns publications for a set of set names (the names argument). In the special case names=None, all allowed renderers are treated as published. |
returns the full canonical access URL of this service together with renderer. rendName is the name of the intended renderer in the registry of renderers. With absolute, a fully qualified URL is being returned. Further keyword arguments are translated into URL parameters in the query part. |
returns a published URL that's suitable for a web browser or None if no such URL can be guessed. If you pass fq=False, you will get a path rather than a URL. |
returns a list of table definitions that have something to do with this service. This is for VOSI-type requests. Usually, that's just the core's queried table or an output table, except when there is a TAP renderer on the service. All this is a bit heuristic; but then again, there's no rigorous definition for what's to be in a tables endpoint either. |
adds meta to self and data indicating that data is served by service. This is used by table/@adql and the publish element on data. |
returns a list of OutputFields suitable for an HTML response described by queryMeta. This is the service's output table if given, else the core's output table at verbLevel 2. Additional fields can be set by the user. raiseOnUnknown is used by customwidgets to avoid exceptions because of bad additional fields during form construction (when they aren't properly caught). |
returns a list of desired output fields for query meta. This is for both the core and the formatter to figure out the structure of the tables passed. |
Returns a sequence of all available output fields. This is what the core gives, and this is what will be declared to the registry. Depending on the output format, the verbosity level and perhaps other user settings, the actuall columns produced will be different. |
returns a core tailored for renderer. See svcs.core's module docstring. The argument can be a renderer or a renderer name. |
returns an ContextGrammar apropriate for this renderer. Pass in the core if you already have it as an optimisation (in particular for datalink, where cores aren't automatically cached); if you don't the core will be computed from the renderer. In either case, the context grammar simply is built from the core's inputTable. |
returns a sequence of input keys, adapted for renderer. The renderer argument may either be a renderer name, a renderer class or a renderer instance. This is the main interface for external entities to discover. service metadata. |
runs the service, returning an SvcResult. This is the main entry point for protocol renderers; args is a dict of lists as provided by request.args. Pass in queryMeta if convenient or if args is not simply request.args (but, e.g., nevow formal data). Otherwise, it will be constructed from args. |
returns a list of table names available for TAP querying. This, really, is an implementation detail for the TAP service and might go away anytime. |
Class Variable Details |
metaModel
|
attrSeq
|
managedAttrs
|
Property Details |
isVOPublishedis true if there is any ivo_managed publication on this service. If renderer is non-None, only publications with this renderer name count.
|
customPage
|
rd
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |