Disable sqlalchemy record queries