TStruct¶
-
class
hail.expr.
TStruct
(names, types)[source]¶ Hail type corresponding to
hail.representation.Struct
This is a Hail type. Values of this type have two representations: the expression language representation and the Python representation.
- expression language documentation
- in Python, values are instances of
hail.representation.Struct
Parameters: - names (list of str) – names of fields
- types (list of
Type
) – types of fields
Variables: fields (list of
Field
) – struct fieldsMethods
__init__
pretty
Returns a prettily formatted string representation of the type. transitive_fields