class pyvo.registry.UCD(*patterns)[source]

Bases: Constraint

A constraint selecting resources having tables with columns having UCDs matching a SQL pattern (% as wildcard).

patternstuple of strings

SQL patterns (i.e., % is 0 or more characters) for UCDs. The constraint will match when a resource has at least one column matching one of the patterns.