Comment 1 for bug 681870

Revision history for this message
James Henstridge (jamesh) wrote :

The keyword arguments to selectBy() are converted to the where clause with:

        for key, value in self._by.items():
            args.append(getattr(self._cls, key) == value)

So you should get an AttributeError if you make a typo, unless the incorrect attribute name actually exists on the class. Perhaps that is what you observed?