View Issue Details

IDProjectCategoryView StatusLast Update
0004185CaseTalk ModelerGeneration (SQL, XML, etc)public2023-10-30 10:54
ReporterMarco Wobben Assigned ToMarco Wobben  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformIntelOSWindowsOS Version11
Target Version13.0.1Fixed in Version13.0.1 
Summary0004185: Support frozen python classes
DescriptionPython supports frozen dataclasses. This could be used for the facts which are marked with a static population.
Additional Information
@dataclass(frozen=True)
class Point:
    x: int
    y: int

p1 = Point(10, 200)
p2 = Point(19, 10)

# Modifying fields is not allowed.
# This line gives: "FrozenInstanceError: cannot assign to field 'x'"
# p1.x = 5
TagsNo tags attached.
CaseTalk Editionunknown

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-10-05 11:54 Marco Wobben New Issue
2023-10-05 11:54 Marco Wobben Status new => assigned
2023-10-05 11:54 Marco Wobben Assigned To => Marco Wobben
2023-10-30 10:54 Marco Wobben Status assigned => resolved
2023-10-30 10:54 Marco Wobben Resolution open => fixed
2023-10-30 10:54 Marco Wobben Fixed in Version => 13.0.1