Interface

class pyvo.io.vosi.voresource.Interface(config=None, pos=None, _name='interface', version='1.0', role=None, **kwargs)[source]

Bases: pyvo.utils.xml.elements.Element

Interface element as described in http://www.ivoa.net/xml/VOResource/v1.0

A description of a service interface.

Since this type is abstract, one must use an Interface subclassto describe an actual interface.

Additional interface subtypes (beyond WebService and WebBrowser) are defined in the VODataService schema.

Attributes Summary

accessurls A list of access urls in the interface.
mirrorurls mirror(s) for this access URL.
resulttype
role
securitymethods the mechanism the client must employ to gain secure access to the service.
testquerystring
version

Methods Summary

describe() Prints out a human readable description
register_xsi_type(typename) Decorator factory for registering subtypes

Attributes Documentation

accessurls

A list of access urls in the interface. Must contain only AccessURL objects.

mirrorurls

mirror(s) for this access URL.

resulttype
role
securitymethods

the mechanism the client must employ to gain secure access to the service.

when more than one method is listed, each one must be employed to gain access.

testquerystring
version

Methods Documentation

describe()[source]

Prints out a human readable description

classmethod register_xsi_type(typename)[source]

Decorator factory for registering subtypes