File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,6 @@ class UserData:
4242 user = attr .ib (type = UserPersonalData )
4343
4444
45- @attr .s (frozen = True )
46- class RegistrationFormData :
47- """
48- Attributes defined for Open edX student object.
49- """
50-
51- account_form = attr .ib (type = Dict [str , str ], factory = dict )
52- extension_form = attr .ib (type = Dict [str , str ], factory = dict )
53-
54-
5545@attr .s (frozen = True )
5646class CourseData :
5747 """
@@ -70,12 +60,12 @@ class CourseEnrollmentData:
7060 Attributes defined for Open edX Course Enrollment object.
7161 """
7262
73- creation_date = attr .ib (type = datetime )
74- created_by = attr .ib (type = UserData )
7563 user = attr .ib (type = UserData )
7664 course = attr .ib (type = CourseData )
7765 mode = attr .ib (type = str )
7866 is_active = attr .ib (type = bool )
67+ creation_date = attr .ib (type = datetime )
68+ created_by = attr .ib (type = UserData , default = None )
7969
8070
8171@attr .s (frozen = True )
You can’t perform that action at this time.
0 commit comments