Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept more sequences for codepost.roster.update() #34

Open
josephlou5 opened this issue Mar 31, 2021 · 0 comments
Open

Accept more sequences for codepost.roster.update() #34

josephlou5 opened this issue Mar 31, 2021 · 0 comments

Comments

@josephlou5
Copy link

Example:

graders = codepost.roster.retrieve(course_id)
codepost.roster.update(course_id, superGraders=graders)

Above does not work because graders is of type codepost.models.abstract.linked_lists.APILinkedList. Only by explicitly creating a list object does it work:

graders = codepost.roster.retrieve(course_id)
codepost.roster.update(course_id, superGraders=list(graders))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant