Hey. There is probably a good reason why this does not work as I would expect, but I would like to put it out here nevertheless.
I find it surprising that the following returns
activity = db.random() activity.get('name'), activity.get(u'exchanges')
I find it even more surprising that
activity.as_dict()['exchanges'] does not exist.
I am guessing the reason is that you do not want to load the data already at this stage. Also, I gather the intended way to do this is to iterate over
activity.exchanges(). However, I sometimes want to manually duplicate & modify datasets from the database and the easiest way to do that is to get the exchanges dictionary and then do my changes
on that one. In order to do that, I currently need to load the entire database and then look up the process in question.
It would be nice if there were a convenience method à la
activity.exchanges_as_dict() for that. Unfortunately, I do not have the resources to create a PR the moment.