def _add_constraint(constraint, autogen_context):
    funcs = {
        "unique_constraint": _add_unique_constraint,
        "foreign_key_constraint": _add_fk_constraint,
        "primary_key_constraint": _add_pk_constraint,
        "check_constraint": _add_check_constraint,
        "column_check_constraint": _add_check_constraint,
    }
    return funcs[constraint.__visit_name__](constraint, autogen_context)
Returns XLSX representation of DataBook.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/alembic/autogenerate/render.py/_add_constraint--crossover with--dataset/ETHPy150Open kennethreitz/tablib/tablib/formats/_xlsx.py/export_book