Solved Register class?

got an error on register for a general class in 2.9

###
	
class  World1():
	
	def set_cycles(self):

ect,,

	

this class is for some general functions only

so how do you properly register this ?

thanks
happy bl

you don’t, registration is a strictly blender concept- if the class you’re writing has nothing to do with the RNA system, it doesn’t need to be registered.

remove it from list and seem so i guess need to declare nly panel or operator class

thanks
happy bl