"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."