-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add python apis to agreements models (#32967)
* feat: added python apis to agreements models * feat: add python apis to agreements app * feat: updated pyton apis and rest api * feat: fixed python apis and added tests * test: Added error handling and updated test functions * style: fixed test formatting * style: fixed test formatting * style: fixed test formatting * feat: Fixed error handling for python APIs * feat: Fixed error handling for python APIs * fix: edited python api for agreements app * style: quality revisions for python apis
- Loading branch information
1 parent
d9af2df
commit 3d26512
Showing
3 changed files
with
283 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
""" | ||
Public data structures for this app. | ||
""" | ||
import attr | ||
|
||
|
||
@attr.s(frozen=True, auto_attribs=True) | ||
class LTIToolsReceivingPIIData: | ||
""" | ||
Class that stores data about the list of LTI tools sharing PII | ||
""" | ||
lii_tools_receiving_pii: {} | ||
|
||
|
||
@attr.s(frozen=True, auto_attribs=True) | ||
class LTIPIISignatureData: | ||
""" | ||
Class that stores an lti pii signature | ||
""" | ||
user: str | ||
course_id: str | ||
lti_tools: str | ||
lti_tools_hash: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters