Sqlalchemy one column of two has to be not null