Edit File: constraintquery.py