Hi,
I'm attempting to use
Forward Declarations in my code but keep getting the same error:
Traceback (most recent call last):
File "C:\Python_VEnvs\Debug\debug__Forward-Declarations.py", line 21, in <module>
class Bug(Thing):
File "C:\Python_VEnvs\lib\site-packages\owlready2\entity.py", line 147, in __init__
delattr(Class, k) # Remove the value initially stored by obj_dict in __new__
AttributeError: commentSample code:
with debug:
class Bug(Thing): pass
class Bugger(Bug):
comment = [locstr('It is a bugger...', lang = 'en')]
class Bug(Thing):
comment = [locstr('This is the BUG!', lang = 'en')]
Is this a bug?
Cheers,
Rui