namlook

Results 31 comments of namlook

I like pmn too. Simple to write and pronounce...

Hi, Can you attach a failing test case which describes the behavior that justify this patch ? Thx

Do you have a working test case so I can figure out what is the issue ?

Thank for the test case. The issue, here, come from the `use_autorefs` feature. For the time being, you can just disable this feature and use plain ids to make relations...

Yep, `__setattr__` is used with `use_dot_notation`: https://github.com/namlook/mongokit/blob/master/mongokit/schema_document.py#L398 Thanks for investigating... Your solution would be a workaround for now... Maybe we should check if the value is a `DBRef` in `__getattr__`...

DotedDict is an instance of dict. This shouldn't hurt. Do you have a usecase for this feature ?

`DotedDict` is instanciated when `use_dot_notation` is True otherwise, it is plain dict. If you **really** need performance, I suggest you to turn it off for the type of document. Otherwise,...

ok I see. If I'd understood well, you'd like a `serialize` method to convert all mongo (ObjectId) and python types (datetime) into a understandable plain text without loosing the python...

Ok, it could be added without complicated the API. If you want, you can send a patch, I'll add it.

This is the attended behavior. u2.description should return the filled value. What's wrong ?