Ivoid¶
- class pyvo.registry.Ivoid(ivoid, *more_ivoids)[source]¶
- Bases: - Constraint- A constraint selecting a single resource by its IVOA identifier. - Parameters:
- ivoidstring
- One or more string arguments. The IVOA identifier of the resource to match. As RegTAP requires lowercasing ivoids on ingestion, the constraint lowercases the ivoid passed in, too. 
- more_ivoidsstrings
- You can pass in multiple ivoids to match. As usual, they are combined by an or. 
 
 - Methods Summary - get_search_condition(service)- Formats this constraint to an ADQL fragment. - Methods Documentation - get_search_condition(service)[source]¶
- Formats this constraint to an ADQL fragment. - This takes the service the constraint is being executed on as an argument because constraints may be written differently depending on the service’s features or refuse to run altogether. - Parameters:
- serviceTAPService
- The RegTAP service the query is supposed to be run on (that is relevant because we adapt to the features available on given services). 
 
- service
- Returns:
- str
- A string ready for inclusion into a WHERE clause.