(20260123) Many day manual run possible now.

This commit is contained in:
2026-01-23 16:00:56 +05:30
parent 2557b349a6
commit e2049b683f
3 changed files with 40 additions and 19 deletions
+3 -2
View File
@@ -37,7 +37,6 @@ for team in team_list:
# Fix the app notes:
cosec_notes = app_notes.get("cosec", {})
print("COSEC NOTES:", cosec_notes)
cosec_notes = {
"User ID": cosec_notes.get("User ID", cosec_notes.get("UserID")),
"User Name": cosec_notes.get("User Name", cosec_notes.get("UserName")),
@@ -49,8 +48,10 @@ for team in team_list:
"Direct Reporting ID": cosec_notes.get("Direct Reporting ID", cosec_notes.get("DirectReportingID")),
"Level-1 ID": cosec_notes.get("Level-1 ID", cosec_notes.get("Level-1ID")),
}
print("COSEC NOTES:", cosec_notes)
# Save the JSON Notes again:
app_notes["cosec"] = cosec_notes
json_notes["applicantNotes"] = app_notes
team["json_notes"] = json.to_string(json_notes, no_space = True)
@@ -62,4 +63,4 @@ tcaoff.logout(tcaoff_creds)
# Show and save the DF:
print(team_df[:10].to_string())
team_df[["user_id", "json_notes"]].to_csv(r"C:\Users\Khushal P Soonderji\Downloads\20260121_cosec_team_fix.csv", index = False)
team_df[["user_id", "json_notes"]].to_csv(r"C:\Users\Khushal P Soonderji\Downloads\20260122_cosec_team_fix.csv", index = False)