Skip to content

Commit 420fe07

Browse files
Merge pull request #2934 from VWS-Python/dataclass-kw-only-reports
Add kw_only to remaining vws.reports dataclasses
2 parents aa13fad + bb57189 commit 420fe07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vws/reports.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class TargetRecord:
118118

119119

120120
@beartype
121-
@dataclass(frozen=True)
121+
@dataclass(frozen=True, kw_only=True)
122122
class TargetData:
123123
"""The target data optionally included with a query match."""
124124

@@ -128,7 +128,7 @@ class TargetData:
128128

129129

130130
@beartype
131-
@dataclass(frozen=True)
131+
@dataclass(frozen=True, kw_only=True)
132132
class QueryResult:
133133
"""One query match result.
134134
@@ -161,7 +161,7 @@ def from_response_dict(cls, response_dict: dict[str, Any]) -> Self:
161161

162162

163163
@beartype
164-
@dataclass(frozen=True)
164+
@dataclass(frozen=True, kw_only=True)
165165
class TargetStatusAndRecord:
166166
"""The target status and a target record.
167167

0 commit comments

Comments
 (0)