Re: Unable to print properties using get_properties() function

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Unable-to-print-properties-using-get-properties-function-tp2405p2410.html

Hi,

Are you sure that obs is an instance here, and not a class? (you may look at obs.__class__ to check that).

If obs is a class, you can use obs.get_class_properties() for obtaining restrictions.

Jiba