Python Attributeerror Neither Instrumentedattribute Object Nor Comparator Object

Python Attributeerror Neither Instrumentedattribute Object Nor Comparator Object