Skip to content

Commit

Permalink
Model changes for assignment.lis_outcome_service_url
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Sep 4, 2024
1 parent b40b8c2 commit 47a4f62
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lms/models/assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ class Assignment(CreatedUpdatedMixin, Base):

course: Mapped[Course | None] = relationship(Course)

lis_outcome_service_url: Mapped[str | None] = mapped_column()
"""URL of the grading serivce relevant for this assignment.
This is named lis_outcome_service_url in both the LTI1.1 and the Names and Roles 2.0 specs
It's equivalent to the
https://purl.imsglobal.org/spec/lti-ags/claim/endpoint/lineitem
claim on LTI1.3
"""

__table_args__ = (
sa.UniqueConstraint("resource_link_id", "tool_consumer_instance_guid"),
sa.Index(
Expand Down

0 comments on commit 47a4f62

Please sign in to comment.