def test_takes_kargs():
    assert not hug.introspect.takes_kargs(function_with_kwargs)
    assert hug.introspect.takes_kargs(function_with_args)
    assert not hug.introspect.takes_kargs(function_with_neither)
    assert hug.introspect.takes_kargs(function_with_both)
Test to ensure hug introspection can correctly identify when a function takes kargs
dataset/ETHPy150Open timothycrosley/hug/tests/test_introspect.py/test_takes_kargs