Skip to content

Commit

Permalink
Decorators: Fix check for return parameter
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Seluj78 committed Jun 19, 2024
1 parent ceadf85 commit 6a44010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def wrapper(*args, **kwargs):
parameters = get_type_hints(fn)

# Remove return value type hints
if "return" in parameters.keys():
if "return" in parameters:
del parameters["return"]

try:
Expand Down

0 comments on commit 6a44010

Please sign in to comment.