-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
pydantic.BaseModel 对象无法正确打印 #80
Comments
继承BaseModel的类都有一个Config属性,这个属性好像有着很复杂的引用关系,就导致一直阻塞,可以在调用op时指定遍历深度就能避免阻塞。 op(obj, honor_existing=False, depth=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在使用 pydantic + objprint,打印对象使用了 #52 中的方法,但程序在
op
处阻塞住。The text was updated successfully, but these errors were encountered: