Oct-05-2024, 07:46 PM
(This post was last modified: Oct-06-2024, 07:46 AM by Yoriz.
Edit Reason: Added code tags
)
I'm working with a dataclass that is code-generated by a tool I do not control:
thanks,
Joe
@dataclass class Concern: id: ConcernIDNote that the dataclass is not declared as frozen. I need this class to be frozen for the sake of Hashability, so I would like to modify the class at **runtime** to make it frozen. Is this possible?
thanks,
Joe