Skip to content

Commit

Permalink
docs: Add PII annotations
Browse files Browse the repository at this point in the history
Per OEP-30 these annotations should live with their models. I'm just
moving them from the edx-platform safelist to their correct home.
  • Loading branch information
bmtcril committed Nov 25, 2024
1 parent 20e4e6e commit 4ede87d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user_tasks/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ class UserTaskStatus(TimeStampedModel):
The methods of this class should generally not be run as part of larger
transactions. If they are, some deadlocks and race conditions become
possible.
.. no_pii:
"""

PENDING = 'Pending'
Expand Down Expand Up @@ -228,6 +230,8 @@ class UserTaskArtifact(TimeStampedModel):
An artifact (or error message) generated for a user by an asynchronous task.
May be a file, a URL, or text stored directly in the database table.
.. no_pii:
"""

uuid = models.UUIDField(default=uuid4, unique=True, editable=False, help_text='Unique ID for use in APIs')
Expand Down

0 comments on commit 4ede87d

Please sign in to comment.