Skip to content

Commit da8883c

Browse files
committed
fixup! fix: fixes based on review feedback, tests etc
1 parent 74fde62 commit da8883c

File tree

1 file changed

+2
-2
lines changed
  • openedx/core/djangoapps/agreements

1 file changed

+2
-2
lines changed

openedx/core/djangoapps/agreements/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class LTIPIISignatureData:
2828
lti_tools_hash: str
2929

3030

31-
@dataclass
31+
@attr.s(frozen=True, auto_attribs=True)
3232
class UserAgreementData:
3333
"""
3434
Data for a user agreement record.
@@ -50,7 +50,7 @@ def from_model(cls, model: UserAgreement):
5050
)
5151

5252

53-
@dataclass
53+
@attr.s(frozen=True, auto_attribs=True)
5454
class UserAgreementRecordData:
5555
"""
5656
Data for a single user agreement record.

0 commit comments

Comments
 (0)