Skip to content

Phase 3: Simplify example logging using __repr__#145

Merged
teresa-ortega merged 1 commit intonext-genfrom
teresa-ortega/fix/example_print
Apr 16, 2026
Merged

Phase 3: Simplify example logging using __repr__#145
teresa-ortega merged 1 commit intonext-genfrom
teresa-ortega/fix/example_print

Conversation

@teresa-ortega
Copy link
Copy Markdown
Collaborator

@teresa-ortega teresa-ortega commented Apr 16, 2026

Proposed changes

Replace multiple individual print statements with a single print(ctx), using the existing Context.__repr__ method to produce a structured, human-readable summary of the context state.

Type of change

  • 🐛 Bugfix (change which fixes an issue)
  • 🚀 Feature (change which adds functionality)
  • 📚 Documentation (change which fixes or extends documentation)

💥 No breaking changes.

Checklist

Put an x in the boxes that apply. This is simply a reminder of what we will require before merging your code.

  • Lint and unit tests (if any) pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Additional comments

N/A

Signed-off-by: Maria Teresa Ortega <teresa.ortega0903@gmail.com>
@teresa-ortega teresa-ortega requested a review from xaru8145 April 16, 2026 11:23
@teresa-ortega teresa-ortega changed the title Phase 3: Simplify context logging using __repr__ Phase 3: Simplify example logging using __repr__ Apr 16, 2026
Copy link
Copy Markdown
Collaborator

@xaru8145 xaru8145 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teresa-ortega teresa-ortega merged commit 916dcb6 into next-gen Apr 16, 2026
4 checks passed
@teresa-ortega teresa-ortega deleted the teresa-ortega/fix/example_print branch April 16, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants