We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b36f3c commit 3e02b86Copy full SHA for 3e02b86
flask_parameter_validation/parameter_validation.py
@@ -77,8 +77,8 @@ async def nested_func(**kwargs):
77
except Exception as e:
78
return self.custom_error_handler(e)
79
validated_inputs[expected.name] = new_input
80
-
81
- if asyncio.iscoroutinefunctions(f):
+
+ if asyncio.iscoroutinefunction(f):
82
return await f(**validated_inputs)
83
else:
84
return f(**validated_inputs)
setup.py
@@ -28,6 +28,7 @@
28
platforms='any',
29
install_requires=[
30
'Flask',
31
+ 'flask[async]',
32
'python-dateutil',
33
],
34
classifiers=[
0 commit comments