get_datatype_with_variants¶
- felis.metadata.get_datatype_with_variants(column_obj)¶
Use the Felis type system to get a SQLAlchemy datatype with variant overrides from the information in a Felis column object.
- Parameters:
column_obj (
Column
) – The column object from which to get the datatype.- Returns:
The SQLAlchemy datatype object.
- Return type:
- Raises:
ValueError – If the column has a sized type but no length.