From 03d0b6247f4cbbcaba46817cd4510369da263159 Mon Sep 17 00:00:00 2001 From: jefer94 Date: Thu, 1 Aug 2024 15:53:33 -0500 Subject: [PATCH] add more prints --- breathecode/events/actions.py | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/breathecode/events/actions.py b/breathecode/events/actions.py index 10eb0e738..b9380deb1 100644 --- a/breathecode/events/actions.py +++ b/breathecode/events/actions.py @@ -141,6 +141,49 @@ def process_i_owe_you(i_owe_them: QuerySet[AbstractIOweYou]): process_i_owe_you(subscriptions) process_i_owe_you(plan_financings) + print( + -11, + [ + { + "id": x.id, + "slug": x.slug, + "name": x.name, + } + for x in academies + ], + ) + + print( + -22, + [ + { + "id": x.id, + "slug": x.slug, + "name": x.name, + } + for x in cohorts + ], + ) + + print( + -33, + [ + { + "syllabus": { + "id": x["syllabus"].id, + "slug": x["syllabus"].slug, + "name": x["syllabus"].name, + }, + "academy": { + "id": x["academy"].id, + "slug": x["academy"].slug, + "name": x["academy"].name, + }, + } + for x in cohorts + ], + ) + return academies, cohorts, syllabus, ids def my_events():