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.

Parameters:
  • names (list of str) – names of fields
  • types (list of Type) – types of fields
Variables:

fields (list of Field) – struct fields

Methods

__init__
pretty Returns a prettily formatted string representation of the type.
transitive_fields
transitive_fields()[source]