mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
e58dad6dec
* Added support for Rich Repr protocol * restore line * Words * quotes * Update changes/3099-willmcgugan.md Adds code to markdown Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> * added usage with Rich Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> Co-authored-by: Samuel Colvin <s@muelcolvin.com>
6 lines
355 B
Markdown
6 lines
355 B
Markdown
Pydantic models may be printed with the [Rich](https://github.com/willmcgugan/rich) library which will add additional formatting and color to the output. Here's an example:
|
|
|
|

|
|
|
|
See the Rich documentation on [pretty printing](https://rich.readthedocs.io/en/latest/pretty.html) for more information.
|