Fixed some more of the Luminate templates for Spanish templates. Wrote a quick addition to get all course IDs.
This commit is contained in:
@ -24,3 +24,4 @@ CIN7 = "51BNlRsLYKQxSu1q1UQq7F63j"
|
||||
FULLSTORY = "ePChrDWLegENa2qnfb259O2Ki"
|
||||
RENAISSANCE = "YFykqX1u0d3HveONc5I9CKnJ1"
|
||||
SANDATA = "HdZFoXGCFpt8NnTOzIQY0kVDj"
|
||||
LUMINATE_US = "p5fidpuedHaOlPnd8EcpxzQMG"
|
||||
|
||||
Binary file not shown.
@ -4,7 +4,7 @@ import Apikeys
|
||||
import pprint
|
||||
|
||||
pp = pprint.PrettyPrinter(indent=4)
|
||||
apiKey = Apikeys.WALMARTPROD
|
||||
apiKey = Apikeys.LUMINATE_US
|
||||
course_dict = {}
|
||||
|
||||
COURSES= [
|
||||
@ -33,16 +33,17 @@ def get_course():
|
||||
uuid = response["id"]
|
||||
name = response["attributes"]["name"]
|
||||
# build_url = response["links"]["builder"]["href"]
|
||||
if name in COURSES:
|
||||
print(uuid)
|
||||
course_dict = {
|
||||
"id": uuid,
|
||||
"name": name,
|
||||
"status": status,
|
||||
# "build_url": build_url
|
||||
# "url": f"https://walmart.northpass.com/app/courses/{uuid}",
|
||||
}
|
||||
courses.append(course_dict)
|
||||
# if name in COURSES:
|
||||
print(uuid)
|
||||
course_dict = {
|
||||
"id": uuid,
|
||||
"name": name,
|
||||
"status": status,
|
||||
# "build_url": build_url
|
||||
# "url": f"https://walmart.northpass.com/app/courses/{uuid}",
|
||||
}
|
||||
courses.append(course_dict)
|
||||
# print(courses)
|
||||
|
||||
# FIX: Up until here, each course gets read to the terminal.
|
||||
# FIX: After this, something is being overwritten.
|
||||
|
||||
Reference in New Issue
Block a user