Skip to content

[FEATURE] Pretty print schema objects in Python #1094

@georgeh0

Description

@georgeh0

For schema classes in Python, we want to provide implementations for __str__ and __repr__, to pretty print data types.

For the specific way to print the type, can follow the same pattern as those in Rust, e.g. see these


❤️ Contributors, please refer to 📙Contributing Guide.
Unless the PR can be sent immediately (e.g. just a few lines of code), we recommend you to leave a comment on the issue like I'm working on it or Can I work on this issue? to avoid duplicating work. Our Discord server is always open and friendly.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions