What is an InstrumentedList in Python?

Viewed 17041

During some set operations I encountered this error in Python:

TypeError: unhashable type: 'InstrumentedList'

What is an InstrumentedList in Python? I only found a few references related to SQLAlchemy. Is this a SQLAlchemy implementation of lists or something?

By the way, it happens while doing:

set(self.some_list)

where

print type(self.some_list) # <type 'list'>
2 Answers
Related