Re: Browse the values ​​of a variable with Flask and Owlready

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Browse-the-values-of-a-variable-with-Flask-and-Owlready-tp2467p2482.html

Hi,

If you do:

    onto.personne1.possede = ["Loc"]

then you erase the previous value(s) and put "Loc" as the unique value.

If you want to add a value, keeping the eventual previous values, you should do:

    onto.personne1.possede.append("Loc")

Jiba