- 
    Type:Bug 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
    Environment:ALL
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
This is caused by trying to hash self.__kwargs which is a dict and unhashable.
Repro steps:
1. Create a DBRef: dbr = DBRef('coll', 5, foo='bar')
2. Try to hash it: hash(dbr)
Traceback