-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: take exec ed course data from course run instead of additional_metadata attempt 3 #966
Conversation
based on normalized_metadata's enroll_by_date | ||
""" | ||
enroll_by_deadline = course_json_metadata.get('normalized_metadata')['enroll_by_date'] | ||
enroll_by_deadline_timestamp = parse_datetime(enroll_by_deadline).timestamp() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the one line fixed from https://github.com/openedx/enterprise-catalog/pull/912
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One clarifying question from me, relates to @brobro10000's other comments. Thanks for calling out the specific fix in this PR compared to the previous attempt 😄
58a0ffe
to
3ac45e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally non-blocking nits, but inclusion would improve clarity, great job 🥳
'weeks_to_complete': weeks_to_complete, | ||
'outcome': outcome, | ||
'advertised_course_run': advertised_course_run, | ||
'content_price': content_price |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
…metadata attempt 3 fix: use content_price for populating price csv column refactor: rename variable for clarity
3ac45e0
to
6c1cd55
Compare
Description
Updates references for Exec Ed courses originally contained in the
additional_metadata
field, to now be taken from course runs. Fixing datetime parsing issue that was found in earlier attempt #912, by incorporating fixes made in #958Ticket Link
ENT-8248: update custom logic for non-ocm courses in enterprise-catalog
Outstanding Questions
Post-review