marshmallow-code / marshmallow-code/flask-smorest

as_kwargs=True always?

Open
#47 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
717
Forks
77
Avg merge
7h 49m
Merged PRs (30d)
3

Description

I like using `as_kwargs`, coming from flask-apispec which has a `@use_kwargs` decorator.

Feature request: have a decorator that has `as_kwargs=True` so I don't have to type it every time

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing `as_kwargs` option and the decorator interface in this project, then compare it with flask-apispec's `@use_kwargs` behavior mentioned in the issue. The request is complete when users can apply a decorator that defaults to `as_kwargs=True`, with the resulting behavior documented and verified against the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.