Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[FIX] Corrected a Field parameter typo in schemas.py #389

Closed
wants to merge 1 commit into from

Conversation

meestaben
Copy link
Contributor

Misspelt parameter was triggering a deprecation warning due to recent versions of Pydantic seeing it as an arbitrary parameter:

PydanticDeprecatedSince20: Using extra keyword arguments on Field is deprecated and will be removed. Use json_schema_extra instead. (Extra keys: 'desciption').

Misspelt parameter was triggering a deprecation warning due to recent versions of Pydantic seeing it as an arbitrary parameter:

PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'desciption').
@OCA-git-bot
Copy link
Contributor

Hi @lmignon,
some modules you are maintaining are being modified, check this out!

@lmignon
Copy link
Contributor

lmignon commented Nov 3, 2023

@meestaben Thank you for your fix. The same is also applied in #387. I will prepare a new releas with your commit and add a release note...

@lmignon
Copy link
Contributor

lmignon commented Nov 3, 2023

Closing since your commit is included in #390.

Thank you for the contrib.

@lmignon lmignon closed this Nov 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants