marshmallow-code / marshmallow-code/marshmallow
SchemaOpts misses partial
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 738
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 7
Description
If I try to reproduce the solution in https://github.com/marshmallow-code/marshmallow/issues/2297#issuecomment-2284962125 with `partial` instead of `dateformat`, it fails. I guess this is because the `__init__` at https://github.com/marshmallow-code/marshmallow/blob/dev/src/marshmallow/schema.py#L204 is missing the `partial` keyword.
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 in src/marshmallow/schema.py around line 204 and compare the partial case with the dateformat workaround discussed in issue #2297. Reproduce the reported SchemaOpts behavior, then verify that the partial option is handled consistently and add coverage for the reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100