|
Hi Jiba, very thanks for answering,
Everything works, but I have a suggestion:
The 0.37 online documentation presents the same name for the instances and for the python variables:
>>> my_drug = Drug("my_drug")
>>> acetaminophen = Ingredient("acetaminophen")
>>> my_drug.has_for_ingredient = [acetaminophen]
I've implemented different names for both and I was using the name of the instance as a parameter and I should use the python variable, when I've done this way, it has worked. This situation could be highlighted at the official documentation to guide new users like me to avoid that!! :-)
I'm keeping programming!
Thanks.
|