Skip to content

How to binding functions with **kwargs ? #46

@svjack

Description

@svjack

if I want to use this decorator with a function with **kwargs as its arguments ?
How can i send a request with its value ?

from tranquilizer import tranquilize
@tranquilize(method='post')
def some_func(a,b,**kwargs):
    return kwargs

import requests
response = requests.post

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions