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

[Content Types] Create and use async resource and service #2845

Open
wants to merge 2 commits into
base: async
Choose a base branch
from

Conversation

jerome-poisson
Copy link
Contributor

This patch create Async ContentTypes resource, and an async service which ports methods from the legacy ones.

SDESK-7482

This patch create Async ContentTypes resource, and an async service
which ports methods from the legacy ones.

SDESK-7482
- remove `hateoas` references, they should not be needed with Async
  service.
- set type for `projection` in `on_delete_res_vocabularies` to avoid
  linter complaining.
- use `mongo_async` for `find_and_modify`

Also use `to_dict` instead of `model_dump`, as the right parameters are
then used.
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.

1 participant