question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

as_kwargs=True always?

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lafrechcommented, Mar 30, 2019

@revmischa I’m open to adding a kwarguments decorator. Would you like to submit a PR?

0reactions
BnGxcommented, Feb 18, 2021

It might be a good idea to edit ArgumentsMixin class as following:

from functools import partial

class ArgumentsMixin:
    def kwarguments(self):
        return partial(self.arguments, as_kwargs=True)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Always True® (@alwaystrueco) • Instagram photos and videos
3486 Followers, 109 Following, 689 Posts - See Instagram photos and videos from Always True® (@alwaystrueco)
Read more >
Erasure - Always (Official HD Remastered Video) - YouTube
Official HD Remastered music video for “ Always ” by Erasure. The new 2CD expanded edition of 'I Say I Say I Say'...
Read more >
Always - YouTube
The Always Changing and Growing Up videos focus on female and male development, helping answer the questions many kids have about what to...
Read more >
Ashe - Always (Official Audio) - YouTube
Ashe - Always (Official Audio) 'Ashlyn' The Debut Album from Ashe Out NowListen/Download 'Ashlyn' here: http://ashemusic.co/AshlynBuy ...
Read more >
Always® Feminine Products and Menstrual Information
Find all the Always feminine products and menstrual information that you need in order to feel comfortable and clean every day of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found