def get_field_data_type(field):
    """Returns the description for a given field type, if it exists,
    Fields' descriptions can contain format strings, which will be interpolated
    against the values of field.__dict__ before being output."""

    return field.description % field.__dict__
dataset/ETHPy150Open treeio/treeio/treeio/core/api/doc.py/get_field_data_type/original