Skip to content

AI junk - #6111

Closed
Tarunjit45 wants to merge 2 commits into
pallets:mainfrom
Tarunjit45:fix-issue-5200-1785422031
Closed

AI junk#6111
Tarunjit45 wants to merge 2 commits into
pallets:mainfrom
Tarunjit45:fix-issue-5200-1785422031

Conversation

@Tarunjit45

Copy link
Copy Markdown

No description provided.

tarun added 2 commits July 30, 2026 19:58
Fixes pallets#5199)

The `dispatch_request` method in the `View` and `MethodView` classes has been modified to accept positional arguments. The `as_view` method in the `View` class has also been updated to pass these arguments to the view function.
Fixes pallets#5199)

The issue was caused by the lack of support for passing positional arguments to class-based views in Flask. To fix this issue, we modified the `dispatch_request` method in the `View` and `MethodView` classes to accept positional arguments by changing the method signature to `def dispatch_request(self, *args, **kwargs)` and then passing these arguments to the view function.
@davidism

Copy link
Copy Markdown
Member

@davidism davidism closed this Jul 30, 2026
@davidism davidism changed the title Fix issue #5200 1785422031 AI junk Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants