Skip to content

Fix bug where calling help(BaseModelSubclass) raises errors#6758

Merged
dmontagu merged 3 commits intomainfrom
help-rootmodel
Jul 19, 2023
Merged

Fix bug where calling help(BaseModelSubclass) raises errors#6758
dmontagu merged 3 commits intomainfrom
help-rootmodel

Conversation

@hramezani
Copy link
Copy Markdown
Member

@hramezani hramezani commented Jul 19, 2023

closes #6743

There are some deprecation warnings when calling help or using pydoc to generate the help because they are accessing all the attributes for generating the doc

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jul 19, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d68083c
Status: ✅  Deploy successful!
Preview URL: https://f66c5b7c.pydantic-docs2.pages.dev
Branch Preview URL: https://help-rootmodel.pydantic-docs2.pages.dev

View logs

@dmontagu dmontagu changed the title Help rootmodel Fix bug where calling help(BaseModelSubclass) raises errors Jul 19, 2023
@dmontagu dmontagu enabled auto-merge (squash) July 19, 2023 16:08
@dmontagu dmontagu merged commit bca9bcd into main Jul 19, 2023
@dmontagu dmontagu deleted the help-rootmodel branch July 19, 2023 16:10
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.

Can't see help for RootModel with pydoc or help()

2 participants