Skip to content
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

Include name in representation of named nodes #198

Closed
LinuxIsCool opened this issue May 11, 2023 · 1 comment
Closed

Include name in representation of named nodes #198

LinuxIsCool opened this issue May 11, 2023 · 1 comment
Assignees

Comments

@LinuxIsCool
Copy link

I'm parsing schema's to build datasets of available queries. Having a repr on nodes that displays attribute information would be very useful. I'm looking at my code from 2 years ago which had this functionality. Running the same code today renders non-useful repr of nodes.

Notebook state that I ran 2 years ago:
image

Notebook state ran today:
image

You can see how the repr displaying the value of the name is very useful.

@Cito Cito changed the title __repr__ usefulness Include name in representation of named nodes Jun 4, 2023
@Cito Cito self-assigned this Jun 4, 2023
@Cito
Copy link
Member

Cito commented Jun 4, 2023

Thanks for the suggestion. This is now implemented in 3.3.0a3.

@Cito Cito closed this as completed Jun 4, 2023
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

No branches or pull requests

2 participants