diff --git a/image/src/backend/router.py b/image/src/backend/router.py index 1eda05d..02ee87b 100644 --- a/image/src/backend/router.py +++ b/image/src/backend/router.py @@ -93,6 +93,9 @@ def view_func_wrapper(**flask_kwargs): # Create error response from exception return str(exception), 500 + # Update the function name + view_func_wrapper.__name__ = view_func.__name__ + "_" + repr(options.get("methods")) + # Add the url rule using the parent return super(Router, self).add_url_rule(rule, endpoint, view_func_wrapper, provide_automatic_options, **options)