Bases: object
Used internally to carry information about a label in a wildcard and how well it matches a prospective argument type.
Compute the narrowest possible supertype of a set of types.
Parameters: | candidates (list of titus.datatype.AvroType) – set of types for which to find the narrowest possible supertype |
---|---|
Return type: | titus.datatype.AvroType |
Returns: | narrowest possible supertype, usually a union of the candidates |