Skip to content

Commit

Permalink
feat: remove unused short_description field on CourseCatalogData (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebecca Graber authored Sep 21, 2022
1 parent 8e39405 commit f28018c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ Change Log
Unreleased
----------

[0.14.0] - 2022-09-21
---------------------
Changed
~~~~~~~
* **Breaking change**: Removed ``short_description`` from ``CourseCatalogData``

[0.13.0] - 2022-09-16
---------------------
Added
Expand Down
2 changes: 1 addition & 1 deletion openedx_events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
more information about the project.
"""

__version__ = "0.13.0"
__version__ = "0.14.0"
2 changes: 0 additions & 2 deletions openedx_events/content_authoring/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class CourseCatalogData:
course_key (CourseKey): identifier of the Course object.
name (str): course name
schedule_data (CourseScheduleData): scheduling information for the course
short_description (str): one- or two-sentence course description (optional)
effort (str): estimated level of effort in hours per week (optional). Kept as a str to align with the lms model.
hidden (bool): whether the course is hidden from search (optional)
invitation_only (bool): whether the course requires an invitation to enroll
Expand All @@ -54,7 +53,6 @@ class CourseCatalogData:

# additional marketing information
schedule_data = attr.ib(type=CourseScheduleData)
short_description = attr.ib(type=str, default=None)
effort = attr.ib(type=str, default=None)
hidden = attr.ib(type=bool, default=False)
invitation_only = attr.ib(type=bool, default=False)

0 comments on commit f28018c

Please sign in to comment.