Jonathan Wylie
Jonathan Wylie
OK so I have been writing loads of stuff to explain to you, and in the process I think I have got to the real crux of the problem. The...
To answer about your question about wrap itself. If you want all new schema defaults to be added in initialization in the same as as they are when we make...
I know understand the bug in ``` Field.__get__``` because it was overloading __get__ to - Get the python object for a field - Also get the json values when it...
OK so even though the tests pass, I came across another case where this solution doesn't work. In particular, if you have a `ListField(DictField(Mapping.build(......schema....)))`, then change the schema. Any instances...
So yes you have understood pretty well what's going on. Except my changes have not implemented lazy defaults if we're loading something from the database. In both cases when loading...
Yes I can clean it up. Just didn't want to do it before we had agreed the behavior you want. I will do it sometime this week if that's OK.
Sorry I was really busy last week.
This bug seems to have been around for a long time. I believe I have a fix. Changing the wraps class method to ``` python @classmethod def wrap(cls, data): #...
OK I made the pull request: https://github.com/djc/couchdb-python/pull/275
@martynasma did you create a click handler as well?