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

Update pydantic and fastapi #34

Conversation

omarudolley
Copy link
Contributor

Update pydantic and fastapi to latest version

@omarudolley omarudolley changed the title [WIP]Update pydantic and fastapi Update pydantic and fastapi Oct 23, 2023
Copy link
Contributor

@joakimnordling joakimnordling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The test are now raising a warning Field "model_name" has conflict with protected namespace "model_"., seems to be caused by a field with that name in ParsedResponse in openapi_to_fastapi/models.py. Would be nice if we could fix that warning, preferably by finding some good alternative name for the field.
  • I'd want to see at least some tests that use OpenAPI 3.1.0 based definitions to ensure this update will work with the upcoming changes from Update Pydantic to v2.4.2 ioxio-dataspace/ioxio-data-product-definition-tooling#22.
  • The version number of the library needs to be updated before we can release it.

pyproject.toml Outdated Show resolved Hide resolved
@joakimnordling joakimnordling merged commit a9fed4a into ioxiocom:main Nov 14, 2023
4 checks passed
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.

2 participants