Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flask integration #182

Merged
merged 5 commits into from
Mar 15, 2025
Merged

fix flask integration #182

merged 5 commits into from
Mar 15, 2025

Conversation

cle-b
Copy link
Owner

@cle-b cle-b commented Mar 15, 2025

Fix the error AssertionError: View function mapping is overwriting an existing endpoint function: xxxx which happened in that case:

@app.route("/anything", methods=["GET", "POST", "PUT", "DELETE", "PATCH", "TRACE"])
@app.route(
    "/anything/<path:anything>",
    methods=["GET", "POST", "PUT", "DELETE", "PATCH", "TRACE"],
)
def view_anything(anything=None):
   ...

Fix the group by test feature which was broken by httpdbg_endpoint.

@cle-b cle-b merged commit 0d1c4ad into main Mar 15, 2025
18 checks passed
@cle-b cle-b deleted the fixpytesthttpbin branch March 15, 2025 11:29
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.

1 participant