Skip to content

fix 'maximum recursion depth is exceeded' for sqlalchemy objects #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

the-vty
Copy link
Contributor

@the-vty the-vty commented Apr 14, 2025

This PR allows to dump SQLAlchemy objects with the reference cycle. If a circular reference is detected it displays "<visited Table(id=$primary_key_value)>"
Also it skips "awaitable_attrs" (an internal SA attribute)

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.

1 participant