litestar-org / litestar-org/polyfactory
Enhancement: add support for Odmantic 1.0
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
### Summary
Odmantic [v1 was released](https://github.com/art049/odmantic/releases/tag/v1.0.0) recently, and it switches over to `pydantic v2`. Currently, this is not supported (updating odmantic to v1 will cause the tests to fail) by `polyfactory`.
### Basic Example
_No response_
### Drawbacks and Impact
_No response_
### Unresolved questions
_No response_
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 by updating the Odmantic dependency to v1 and running the existing test suite to reproduce the failures described in the issue. Inspect the integration points affected by Odmantic's move to Pydantic v2; the work is done when the tests pass with Odmantic v1 support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100