From 8f67ea2d48819cb5d2a817f0df8c3301dfbbf97e Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Wed, 8 Jan 2025 11:08:32 +0100 Subject: [PATCH] refactor: drop changes in forum events --- openedx_events/learning/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx_events/learning/data.py b/openedx_events/learning/data.py index 06624b73..962dda35 100644 --- a/openedx_events/learning/data.py +++ b/openedx_events/learning/data.py @@ -422,10 +422,10 @@ class DiscussionThreadData: url = attr.ib(type=str) user = attr.ib(type=UserData) course_id = attr.ib(type=CourseKey) - discussion = attr.ib(type=dict[str, str], factory=dict) + discussion = attr.ib(type=dict, factory=dict) user_course_roles = attr.ib(type=List[str], factory=list) user_forums_roles = attr.ib(type=List[str], factory=list) - options = attr.ib(type=dict[str, str], factory=dict) + options = attr.ib(type=dict, factory=dict) @attr.s(frozen=True)