BbRest icon indicating copy to clipboard operation
BbRest copied to clipboard

AttributeError: 'BbRest' object has no attribute 'CreateAssignment'.

Open eflage opened this issue 1 year ago • 0 comments

I'm trying to use the "Create Assignment" endpoint and when I call

r = bb.CreateAssignment(courseId = args.course_id,
                            payload={'title':'Graduate Nursing – Outcomes Assessment Instructions',
                                  'parentId':parent_id,
                                  'score':{
                                      'possible':0
                                }})

I get the following error:

    r = bb.CreateAssignment(courseId = args.course_id,
        ^^^^^^^^^^^^^^^^^^^
AttributeError: 'BbRest' object has no attribute 'CreateAssignment'. Did you mean: 'CreateAnnouncement'?

eflage avatar Nov 18 '24 19:11 eflage