litestar-org / litestar-org/polyfactory
Enhancement: Support `advanced-alchemy` FileObject
Open
enhancement
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
### Summary
https://github.com/litestar-org/advanced-alchemy/pull/582
```
polyfactory.exceptions.ParameterException: Unsupported type: on field '' from class ImageFactory.
```
### Basic Example
_No response_
### Drawbacks and Impact
_No response_
### Unresolved questions
_No response_
Contributor guide
Research direction
Start by reviewing advanced-alchemy pull request 582 and reproducing the reported ParameterException with ImageFactory and FileObject. Trace the unsupported-type handling used by polyfactory, then verify that ImageFactory can generate a FileObject without raising the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100