Skip to content
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

Professional Education ETL Pipeline #1210

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@
"description": "URL to MicroMasters catalog API",
"required": "false"
},
"MITPE_API_ENABLED": {
"description": "Whether MIT Professional Education ETL should be enabled",
"required": "false"
},
"MITPE_BASE_URL": {
"description": "Base URL for MIT Professional Education website",
"required": "false"
Expand Down
5 changes: 4 additions & 1 deletion learning_resources/etl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ class ETLSource(ExtendedEnum):

micromasters = "micromasters"
mit_edx = "mit_edx"
mitpe = "mitpe"
mitxonline = "mitxonline"
oll = "oll"
xpro = "xpro"
ocw = "ocw"
prolearn = "prolearn"
podcast = "podcast"
see = "see"
xpro = "xpro"
youtube = "youtube"


Expand All @@ -81,6 +82,8 @@ class CourseNumberType(Enum):
"": LearningResourceDelivery.online.name,
"Blended": LearningResourceDelivery.hybrid.name,
"In Person": LearningResourceDelivery.in_person.name,
"Live Virtual": LearningResourceDelivery.online.name,
"On Campus": LearningResourceDelivery.in_person.name,
**{
value: LearningResourceDelivery(value).name
for value in LearningResourceDelivery.values()
Expand Down
Loading
Loading