(project=None)
return field_types
Maps strings constants to field types.
Maps strings constants to field types.
Maps strings constants to field types .
def get_field_types(project=None):
    """
    Maps strings constants to field types.
    """

    sqlfield = lambda obj: sql_field(project=project, obj=obj)
    field_types = {
        const.RADIO: radioselect_field,
        const.DROPDOWN: select_field,
        const.INTEGER: number_field,
        const.TEXTBOX: char_field,
        const.FLOAT: float_field,
        const.CHECKBOX: checkbox_field,
        const.UPLOAD: upload_field
    }

    return field_types
def get_field_types ( project = None ) : sqlfield = lambda obj : sql_field ( project = project , obj = obj ) field_types = { const . RADIO : radioselect_field , const . DROPDOWN : select_field , const . INTEGER : number_field , const . TEXTBOX : char_field , const . FLOAT : float_field , const . CHECKBOX : checkbox_field , const . UPLOAD : upload_field } return field_types