Capability¶
-
class
pyvo.io.vosi.voresource.
Capability
(*args, **kwargs)[source]¶ Bases:
pyvo.utils.xml.elements.Element
Capability element as described in http://www.ivoa.net/xml/VOResource/v1.0
a description of what the service does (in terms of context-specific behavior), and how to use it (in terms of an interface)
Attributes Summary
a description of how to call the service to access this capability
A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.
Methods Summary
describe
()Prints out a human readable description
register_xsi_type
(typename)Decorator factory for registering subtypes
Attributes Documentation
-
description
¶
-
interfaces
¶ a description of how to call the service to access this capability
Since the Interface type is abstract, one must describe the interface using a subclass of Interface, denoting it via xsi:type.
Multiple occurances can describe different interfaces to the logically same capability–i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface.
-
standardid
¶
-
validationlevels
¶ A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.
Methods Documentation
-