make_variant_dict

felis.db.variants.make_variant_dict(column_obj)

Handle variant overrides for a felis.datamodel.Column.

This function will return a dictionary of str to sqlalchemy.types.TypeEngine containing variant datatype information (e.g., for mysql, postgresql, etc).

Parameters:

column_obj (Column) – The column object from which to build the variant dictionary.

Returns:

The dictionary of str to sqlalchemy.types.TypeEngine containing variant datatype information (e.g., for mysql, postgresql, etc).

Return type:

dict [ str, TypeEngine ]