File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 10
10
11
11
12
12
@beartype
13
- @dataclass
13
+ @dataclass ( frozen = True )
14
14
class DatabaseSummaryReport :
15
15
"""
16
16
A database summary report.
@@ -47,7 +47,7 @@ class TargetStatuses(Enum):
47
47
48
48
49
49
@beartype
50
- @dataclass
50
+ @dataclass ( frozen = True )
51
51
class TargetSummaryReport :
52
52
"""
53
53
A target summary report.
@@ -68,7 +68,7 @@ class TargetSummaryReport:
68
68
69
69
70
70
@beartype (conf = BeartypeConf (is_pep484_tower = True ))
71
- @dataclass
71
+ @dataclass ( frozen = True )
72
72
class TargetRecord :
73
73
"""
74
74
A target record.
@@ -86,7 +86,7 @@ class TargetRecord:
86
86
87
87
88
88
@beartype
89
- @dataclass
89
+ @dataclass ( frozen = True )
90
90
class TargetData :
91
91
"""
92
92
The target data optionally included with a query match.
@@ -98,7 +98,7 @@ class TargetData:
98
98
99
99
100
100
@beartype
101
- @dataclass
101
+ @dataclass ( frozen = True )
102
102
class QueryResult :
103
103
"""
104
104
One query match result.
@@ -112,7 +112,7 @@ class QueryResult:
112
112
113
113
114
114
@beartype
115
- @dataclass
115
+ @dataclass ( frozen = True )
116
116
class TargetStatusAndRecord :
117
117
"""
118
118
The target status and a target record.
Original file line number Diff line number Diff line change 5
5
from beartype import beartype
6
6
7
7
8
- @dataclass
8
+ @dataclass ( frozen = True )
9
9
@beartype
10
10
class Response :
11
11
"""
You can’t perform that action at this time.
0 commit comments