Re: Introspection with owlready2
Posted by Pierre on
URL: http://owlready.306.s1.nabble.com/Introspection-with-owlready2-tp168p172.html
Hello Jean-Baptiste,
I don't want to perform cloning, which assumes that an object already exists. I had in mind a recursive, deep object creation procedure that would initialise basic fields with default values (say 0 for ints, "" for strings,...) and object fields with recursively built objects. But, I need in fact more flexibility, more like what some attribute grammars allow. This is not for now, anyway :)
Indeed, get_properties is fine. Thanks for your fast answer :)
Bye,
Pierre