Hi,
that would be nice if there is a way we can create class with their minimal attributes dynamically like below
with onto:
cls = types.new_class(cls_name, (Thing, ), kwds={'domain':Cls1, 'range':Cls/obj_1, 'namespace':...})
as of now if i want to specify the attibutes of the class i still use like below
with onto:
cls = types.new_class(cls_name, (Thing, ))
cls.domain = ....
cls.range = .....
cls.namespace = ....