You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned here "implementations are registered as attribute into the instance".
But it doesn't seem to work... It seems that the retrieve_document function is made for this but I would have preferred an instance.MyImplementedDocument approach. I don't want to use the retrieve_document function because it's just too verbose.
Can you shed some light on this?
Note that I don't want to use register as a decorator, to decouple the documents from the backend choice. For the moment I have only found this as a troubleshooting solution:
First of all, congratulations for this work!
As mentioned here "implementations are registered as attribute into the instance".
But it doesn't seem to work... It seems that the
retrieve_document
function is made for this but I would have preferred an instance.MyImplementedDocument approach. I don't want to use theretrieve_document
function because it's just too verbose.Can you shed some light on this?
Note that I don't want to use register as a decorator, to decouple the documents from the backend choice. For the moment I have only found this as a troubleshooting solution:
But there are also embedded documents or mixins to manage so I'm not too happy with this approach. Then maybe it would be better to do that?
Thanks for your help!
The text was updated successfully, but these errors were encountered: