InstanceGrokkers don't work without a hack
Bug #610488 reported by
Martijn Faassen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
grok | Status tracked in 1.3 | |||||
1.3 |
Opinion
|
Undecided
|
Martijn Faassen |
Bug Description
When using InstanceGrokkers to grok instances in modules, in some cases the martian.
The way to fix this is to place the following hackish thing in the __init__ of the instance's class (*not* in a base class):
self.__
We should investigate changing martian somehow so that this is not needed anymore. Possibly we can poke __grok_module__ into the instance during Grok time.
To post a comment you must log in.
Any Idea how to fix this in general?