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-tp3097.html

"Hi, I'm trying to dynamically create classes and individuals, but I'm running into an issue.
The process works well until I try to create a 'cap' class, at which point the process stops and I get a TypeError: class_name() takes no arguments error.
I'm not sure why this happens only with the 'cap' class, as I can create other classes and individuals without any problem.
The class seems to have been created properly, so I'm not sure what's causing the issue. I'm attaching a screenshot from PyCharm's debugger for reference."