From 9f39ab0dbd66a79273a1f99c7a9fea799d0fbedf Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 30 Aug 2024 17:18:04 -0400 Subject: [PATCH] Datasnipper script. Worked on Migration tool a bit. Some Templates. --- .../Walmart Supplier Prod/_header.html.liquid | 2 +- .../__pycache__/Apikeys.cpython-310.pyc | Bin 1370 -> 1411 bytes .../API_Tests/multi_group_reduce_to_one.py | 35 ++++++++++++++++++ .../mark_course_as_complete.py} | 0 Todos.md | 4 ++ 5 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 Scripts/API_Tests/multi_group_reduce_to_one.py rename Scripts/Migration_tool/{mark_learner_as_complete.py => Mark_Course_As_Complete/mark_course_as_complete.py} (100%) diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid index 06db4cd0..2db68b33 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid @@ -38,7 +38,7 @@ Walmart Supplier Academy
diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-310.pyc index 25cf41cd65f32eadfa0231ecd333670aee5ad41d..6ab1b9fca684b2042fd2e03ae00fb486ba875e4a 100644 GIT binary patch delta 127 zcmcb`)y&PC&&$ij00bMqo=uxHkynxm?c9ziY3_F(JzY4+cC(= e-)|*D5fjjYBBsfwSV9=BCd;#0vam36FaiLp$s|bt delta 95 zcmZqXzQx6x&&$ij00g@Z%u36h$SccOGEuvfC73}|X5)%$Ox%8&GEuC--l3i@w= 2: + for y in groups['data']: + if ALL_LEARNERS_GROUP in y['id']: + print(email, id) + # if 'ecb95453-7196-4392-8a24-392bf14b0480' in y: + + + if "next" not in nextlink: + break + +if __name__ == "__main__": + grab_people() diff --git a/Scripts/Migration_tool/mark_learner_as_complete.py b/Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py similarity index 100% rename from Scripts/Migration_tool/mark_learner_as_complete.py rename to Scripts/Migration_tool/Mark_Course_As_Complete/mark_course_as_complete.py diff --git a/Todos.md b/Todos.md index 6897bf48..12118aed 100644 --- a/Todos.md +++ b/Todos.md @@ -419,3 +419,7 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 08-23-2024 - [ ] WMTSupplier - Send notes on how a CE team should be staffed - content creator, support facing, etc. Include numbers. + +## 08-30-2024 + +- [ ] Datasnipper - Run script for if anyone with > 1 group, remove from all groups and enroll in client group.