Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,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 Expand Up @@ -511,10 +515,6 @@
"description": "URL to retrieve a MITx access token",
"required": false
},
"SEE_API_ENABLED": {
"description": "Whether the Sloan ETL shouold be enabled",
"required": false
},
"SEE_API_URL": {
"description": "URL to retrieve MITx course data from",
"required": false
Expand Down
6 changes: 5 additions & 1 deletion learning_resources/etl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,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 @@ -82,6 +83,9 @@ class CourseNumberType(Enum):
"": LearningResourceDelivery.online.name,
"Blended": LearningResourceDelivery.hybrid.name,
"In Person": LearningResourceDelivery.in_person.name,
"Live Virtual": LearningResourceDelivery.online.name,
"Live Online": LearningResourceDelivery.online.name,
"On Campus": LearningResourceDelivery.in_person.name,
**{
value: LearningResourceDelivery(value).name
for value in LearningResourceDelivery.values()
Expand Down
Loading
Loading