sqlalchemy check constraints and operator precedence | Dark Hacker News