Re: When trying to create classes and individuals dynamically, I'm getting a TypeError: class_name() takes no arguments error

Posted by Totte on
URL: http://owlready.306.s1.nabble.com/When-trying-to-create-classes-and-individuals-dynamically-I-m-getting-a-TypeError-class-name-takes-nr-tp3097p3098.html

Good job on solving the problem! It seems like the issue was caused by declaring a DataProperty with the same name, and changing the DataProperty name resolved the problem. If someone else encounters a similar issue, it might be worth checking if they have declared a DataProperty with the same name to avoid conflicts.