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():