

def _update_check_inputs(current_table, tables, relations):
    assert ((current_table is None) or isinstance(current_table, Table))
    assert isinstance(tables, list)
    assert all((isinstance(t, Table) for t in tables))
    assert all((isinstance(r, Relation) for r in relations))
    assert ((current_table is None) or (current_table in tables))

dataset/ETHPy150Open Alexis-benoist/eralchemy/eralchemy/parser.py _update_check_inputs/original