tortoise / tortoise/tortoise-orm
[Question] How to exclude reverse relations in pydantic_model_creator?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 516
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 9
Description
As the title says, I don't know if it's possible to exclude all reverse relations when creating Pydantic models via pydantic_model_creator or PyndanticMeta
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pydantic_model_creator and PyndanticMeta entry points named in the question, then inspect how reverse relations are handled and what existing documentation covers. Done would require a confirmed answer or a clearly defined, documented way to exclude all reverse relations; no files or tests are identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100