Skip to content

Commit

Permalink
add more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
jefer94 committed Aug 1, 2024
1 parent aceba34 commit 03d0b62
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions breathecode/events/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 03d0b62

Please sign in to comment.