Skip to content

Conversation

@grindtildeath
Copy link
Contributor

No description provided.

@lmignon
Copy link
Contributor

lmignon commented Jun 16, 2025

/ocabot migrate extendable_fastapi

@OCA-git-bot
Copy link
Contributor

Hi @lmignon. Your command failed:

Invalid command: migrate.

Ocabot commands

  • ocabot merge major|minor|patch|nobump
  • ocabot rebase
  • ocabot migration {MODULE_NAME}

More information

@lmignon
Copy link
Contributor

lmignon commented Jun 16, 2025

/ocabot migration extendable_fastapi

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jun 16, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 16, 2025
18 tasks
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

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

Thank you for the migratiojn @grindtildeath. Can you fix the pre-commit so everything will be OK.

@grindtildeath grindtildeath force-pushed the 18.0-mig-extendable_fastapi branch from 8faa13a to 9badc28 Compare June 16, 2025 14:55
lmignon and others added 23 commits June 16, 2025 16:59
When a field is of an extended type, the assemebled class is not part of the know classes computed by fastapi from the fastapi endepoint definition. Is such a case, we must add the extented type to the list of knwon classes
extendable_fastapi 16.0.2.0.0
[UPD] README.rst
On the StrictExtendableBaseModel, disable strict mode to enable coercion from json by FastAPI
A specialized verion of the PagedCollection from
odoo.addons.fastapi.schemas but supporting extendable models as type a
args.
Register the cleanup of the extendable registry just after its initialisation by calling the  method from unittest. If setUpClass() fails, meaning that tearDownClass() is not called, then any cleanup functions added with a call to  will still be called.

refs OCA#392
@grindtildeath grindtildeath force-pushed the 18.0-mig-extendable_fastapi branch from 9badc28 to 66e935f Compare June 16, 2025 14:59
@grindtildeath grindtildeath force-pushed the 18.0-mig-extendable_fastapi branch from 66e935f to 05ee2e6 Compare June 18, 2025 19:22
@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 19, 2025
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 26, 2025
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.

5 participants