Example dictlike-polymorphic not working
There are error. First is easy to fix:
...
class Animal(ProxiedDictMixin, Base) # corrected version
...
The second one throws:
Animal.value))))...
NotImpementedError: <__main__.value object at ...>
Comments (5)
-
Account Deleted -
repo owner first one, line was introduced in 58fab1be984a42400e67bdf7f15acd5a6d7c4b3c and broken literally the next day in 1714e0d6ef28411e9c6633018564af1cae58c3d9.
-
repo owner - changed status to resolved
Repair dictlike-polymorphic
dictlike-polymorphic was broken by the change in 1714e0d6ef28411e9c6633018564af1cae58c3d9. Use the new style of inheritance.
Fixes:
#3704Change-Id: I3509ef4bf7772dd6994daf600accf4a2c5eb6973
→ <<cset 4cec791774b8>>
-
repo owner Repair dictlike-polymorphic
dictlike-polymorphic was broken by the change in 1714e0d6ef28411e9c6633018564af1cae58c3d9. Use the new style of inheritance.
Fixes:
#3704Change-Id: I3509ef4bf7772dd6994daf600accf4a2c5eb6973 (cherry picked from commit 4cec791774b859a4800ed6e607bfa6838b1ab6af)
→ <<cset b150f96b8fa9>>
-
repo owner can't reproduce any error with NotImplementedError or order_by().
- Log in to comment
Fixed the error only
__eq__
and__ne__
are implemented in the comperator. So the query has to be changed toAnimalFact.value == True
.But i still have problems with
oder_by
in a query.