Files
Erica Nwoga 3d26512759 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
2023-10-04 10:36:18 -04:00

24 lines
450 B
Python

"""
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