CADETProcess.dataStructure.dataStructure.frozen_attributes

CADETProcess.dataStructure.dataStructure.frozen_attributes#

CADETProcess.dataStructure.dataStructure.frozen_attributes(cls: type) type[source]#

Class decorator to prevent setting new attributes after initialization.

Parameters:
clstype

The class to decorate.

Returns:
type

The decorated class with frozen attributes after initialization.